-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
93 lines (84 loc) · 2.66 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/usr/bin/env python
"""Development.
### release new version
git commit -am "version bump";git push public main
python setup.py --version
git tag -a v$(python setup.py --version) -m "upgrade";git push --tags
"""
import sys
if (sys.version_info[0]) != (3):
raise RuntimeError('Python 3 required ')
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
# requirements = {
# 'base':[
# # "roux @ git+https://github.com/rraadd88/roux.git@master",
# "roux",
# ## requirements from roux
# 'scipy',
# 'seaborn',
# 'numpy>=1.17.3',
# 'pandas>=0.25.3',
# 'pyyaml>=5.1',
# 'matplotlib>=2.2',
# ],
# ## development and maintenance
# 'dev':[
# 'pytest',
# 'jupyter','ipywidgets','ipykernel',
# 'black',
# 'coveralls == 3.*',
# 'flake8',
# 'isort',
# 'pytest-cov == 2.*',
# 'testbook',
# 'papermill',
# 'lazydocs', 'regex', ## docs
# # 'sphinx','recommonmark',
# ],
# }
# extras_require={k:l for k,l in requirements.items() if not k=='base'}
# ## all: extra except dev
# extras_require['all']=[l for k,l in extras_require.items() if not k=='dev']
# ### flatten
# extras_require['all']=[s for l in extras_require['all'] for s in l]
# ### unique
# extras_require['all']=list(set(extras_require['all']))
setuptools.setup(
name='chrov',
long_description=long_description,
long_description_content_type="text/markdown",
url='http://github.com/rraadd88/chrov',
author='rraadd88',
author_email='[email protected]',
# license='General Public License v. 3',
# packages=setuptools.find_packages('.',exclude=['test','tests', 'unit','deps','data','examples']),
packages=['chrov'], # Use the xyz directory for the modules
package_dir={'chrov': 'modules'}, # Map the name 'abc' to the xyz directory
package_data={
'chrov':[
"modules/*.py",
# "notebooks*/*.ipynb",
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# install_requires=requirements['base'],
# extras_require=extras_require,
# entry_points={
# 'console_scripts': [
# 'chrov = chrov.run:parser.dispatch',
# ],
# },
python_requires='>=3.7, <4',
# cmdclass={'install': PostInstallCommand},
)