-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
40 lines (35 loc) · 1.11 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
import pathlib
from setuptools import setup, find_packages
ROOT = pathlib.Path(__file__).parent
VERSION = '1.14.0'
PACKAGE_NAME = 'PyReconstruct'
AUTHOR = 'Julian Falco & Michael Chirillo'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/SynapseWeb/PyReconstruct'
LICENSE = 'GNU GLPv3'
DESCRIPTION = 'RECONSTRUCT in Python'
LONG_DESCRIPTION = (ROOT / "readme.md").read_text()
LONG_DESC_TYPE = "text/markdown"
reqs_txt = (ROOT / "requirements.txt").read_text()
INSTALL_REQUIRES = reqs_txt.strip().split("\n")
SHELL_SCRIPTS = [] # define shell scripts to install
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
packages=find_packages(),
package_data={'PyReconstruct': ['assets/**/*', 'assets/welcome_series/.welcome/*']},
scripts=SHELL_SCRIPTS,
entry_points={
'console_scripts': [
'PyReconstruct=PyReconstruct.cli:main'
]
}
)