-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·70 lines (63 loc) · 2.6 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python3
# Brizzy - easy Ocean Optics spectra capture.
# Copyright (c) 2016-2017 Darrin T. Schultz. All rights reserved.
#
# This file is part of brizzy.
#
# brizzy is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# brizzy is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with brizzy. If not, see <http://www.gnu.org/licenses/>.
# Tutorials on how to setup python package here:
# - http://python-packaging.readthedocs.io/en/latest/testing.html
# - https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
import os
from setuptools import setup, find_packages
version_py = 0.23
print("Setup.py thinks the current brizzy version is {}".format(version_py))
setup(name='brizzy',
requires=['python (>3.0)'],
version=version_py,
description='A tool for capturing spectra from Ocean Optics spectrometers',
# sorry for the ugly indent formatting. I had to do this for PyPi's sake.
long_description="""
'brizzy' is a package for easily taking spectra from ocean optics
spectrometers. No more hitting the pause button every time you want a
spectrum!
You can visit the gitub page for more detailed information here:
https://github.com/conchoecia/brizzy
""",
url='https://github.com/conchoecia/brizzy',
author='Darrin Schultz',
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Operating System :: POSIX :: Linux',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Intended Audience :: Science/Research'
],
license='GPLv3',
packages=find_packages(),
install_requires=[
"matplotlib >= 2.0.2",
"pandas >= 0.20.1",
"numpy >= 1.12.1",
"scipy >= 0.19.0",
"progressbar2 >= 3.18.1"
],
entry_points={
'console_scripts': ['brizzy=brizzy.brizzy_main:main'],
},
zip_safe=False,
include_package_data=True)