-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
executable file
·72 lines (62 loc) · 2.07 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
71
72
# setup.py
import sys
from setuptools import setup
from setuptools import find_packages
# The version is updated automatically with bumpversion
# Do not update manually
__version = '3.11.2'
# windows installer:
# python setup.py bdist_wininst
# patch distutils if it can't cope with the "classifiers" or
# "download_url" keywords
# ipython profile magic commands implementation
package_list = ['*ipy']
setup_requirements = []
TESTING = any(x in sys.argv for x in ["test", "pytest"])
if TESTING:
setup_requirements += ['pytest-runner']
test_requirements = ['pytest', 'pytest-cov']
SPHINX = any(x in sys.argv for x in ["build_sphinx"])
if SPHINX:
setup_requirements += ['sphinx', 'sphinx-argparse', 'sphinx_rtd_theme']
requires = [
'numpy',
'click<8 ;python_version<"3.6"',
'click>=7 ;python_version>="3.6"',
'prompt_toolkit>=3 ;python_version>="3.6"',
'beautifultable>=1 ;python_version>="3.6"'
]
setup(
name="icepap",
description="Python IcePAP Extension",
version=__version,
author="Guifre Cuni et al.",
author_email="[email protected]",
url="https://github.com/ALBA-Synchrotron/pyIcePAP",
packages=find_packages(),
package_data={'': package_list},
include_package_data=True,
license="GPLv3",
long_description="Python IcePAP Extension for Win32, Linux, BSD, Jython",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 3.5',
'Topic :: Communications',
'Topic :: Software Development :: Libraries',
],
entry_points={
'console_scripts': [
'icepapctl = icepap.cli.cli:cli'
]
},
install_requires=requires,
setup_requires=setup_requirements,
tests_require=test_requirements,
python_requires='>=3.5',
)