-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
60 lines (55 loc) · 1.77 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
#!/usr/bin/env python
from pathlib import Path
from setuptools import find_packages, setup
# read the contents of the README file
readme_path = Path(__file__).resolve().parent / "README.rst"
with open(readme_path, encoding='utf-8') as f:
long_description = f.read()
base_extras = [
'click>=6.7',
'deprecation>=2.1.0',
'more-itertools>=8.6.0',
'morphio>=3.3.6,<4',
'neurom>=3.0,<5.0',
'numpy>=1.14',
'pandas>=1.0.3',
'xmltodict>=0.12.0',
'scipy>=1.2.0',
]
plot_extras = ['plotly>=4.1.0']
parallel_extras = ['dask[bag]>=2.19.0']
nrn_extras = ['neuron>=7.8',
'bluepyopt>=1.9.37',
]
setup(
name="morph-tool",
author="Blue Brain Project, EPFL",
description="A collection of CLIs and python function related to morphology handling",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/bluebrain/morph-tool",
entry_points={
'console_scripts': ['morph-tool=morph_tool.cli:cli']},
license="LGPLv3",
install_requires=base_extras,
extras_require={
'nrn': nrn_extras,
'parallel': parallel_extras,
'plot': plot_extras,
'all': plot_extras + parallel_extras + nrn_extras,
'docs': ['sphinx', 'sphinx-bluebrain-theme'],
},
python_requires='>=3.8',
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
use_scm_version=True,
setup_requires=['setuptools_scm'],
)