-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
61 lines (58 loc) · 2.83 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
# Copyright 2018-2020 Nick Anthony, Backman Biophotonics Lab, Northwestern University
#
# This file is part of PWSpy.
#
# PWSpy 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.
#
# PWSpy 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 PWSpy. If not, see <https://www.gnu.org/licenses/>.
# -*- coding: utf-8 -*-
"""
This file is used to install the pwspy package. for example navigate in your terminal to the directory containing this
file and type `pip install .`. This file is also used by the Conda recipe (buildscripts/conda)
"""
import pathlib
from setuptools import setup, find_packages
import setuptools_scm
HERE = pathlib.Path(__file__).parent # The directory containing this file
README = (HERE / "README.md").read_text() # The text of the README file
setup(name='pwspy_gui',
version=setuptools_scm.get_version(write_to="src/pwspy_gui/version.py"),
description='A collection of GUIs providing users with easy access to PWS data analysis.',
long_description=README,
long_description_content_type="text/markdown",
author='Nick Anthony',
author_email='[email protected]',
url='https://github.com/nanthony21/pwspy_gui',
python_requires='>=3.7,<3.10', # In python 3.10 a chnage occured which means that PyQt no longer implicitly converts float to int. Causes crashes.
install_requires=['numpy',
'matplotlib',
'psutil',
'shapely',
'pandas',
'jsonschema',
'google-api-python-client',
'google-auth-httplib2',
'google-auth-oauthlib',
'PyQt5',
'pwspy>=1.0.1', # Core pws package, available on backmanlab anaconda cloud account.
'mpl_qt_viz>1.0.9', # Plotting package available on PyPi and the backmanlab anaconda cloud account. Written for this project by Nick Anthony
'descartes',
'cachetools>=4'],
package_dir={'': 'src'},
package_data={'pwspy_gui': ['_resources/*',
'PWSAnalysisApp/_resources/*']},
packages=find_packages('src'),
entry_points={'gui_scripts': [
'PWSAnalysis = pwspy_gui.PWSAnalysisApp.__main__:main',
"ERCreator = pwspy_gui.ExtraReflectanceCreator.__main__:main"
]}
)