-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (29 loc) · 951 Bytes
/
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
from setuptools import setup, find_packages
from piescope_gui._version import __version__
def parse_requirements_file(filename):
with open(filename) as fid:
requires = [l.strip() for l in fid.readlines() if l]
return requires
INST_DEPENDENCIES = parse_requirements_file("requirements.txt")
TEST_DEPENDENCIES = parse_requirements_file("requirements-dev.txt")
setup(
name='piescope_gui',
version=__version__,
description="A PyQt5 GUI application",
author="DeMarco Lab",
url='https://github.com/DeMarcoLab/piescope_gui',
packages=find_packages(),
package_data={'piescope_gui.images': ['*.png']},
entry_points={
'console_scripts': [
'piescope=piescope_gui.main:main'
]
},
install_requires=INST_DEPENDENCIES,
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
tests_require=TEST_DEPENDENCIES
)