-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (33 loc) · 1.09 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
import setuptools
import os
with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()
with open(os.path.join("pyslidescape", "version.py")) as f:
txt = f.read()
last_line = txt.splitlines()[-1]
version_string = last_line.split()[-1]
version = version_string.strip("\"'")
setuptools.setup(
name="pyslidescape",
version=version,
description=("This is pyslidescape."),
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/cherenkov-plenoscope/pyslidescape",
author="AUTHOR",
author_email="AUTHOR@mail",
packages=["pyslidescape", "pyslidescape.apps"],
package_data={"pyslidescape": [os.path.join("resources", "*")]},
install_requires=["img2pdf>=0.5.1"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
],
entry_points={
"console_scripts": [
"slidescape=pyslidescape.apps.main:main",
]
},
)