-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
88 lines (81 loc) · 2.28 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
"""Setup for the diameter-synthesis package."""
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# SPDX-License-Identifier: Apache-2.0
from pathlib import Path
from setuptools import find_namespace_packages
from setuptools import setup
reqs = [
"click>=7.0",
"jsonschema>=3",
"matplotlib>=3.4",
"morphio>=3.3.4",
"neurom>=3.0,<4.0",
"numpy>=1.23",
"pandas>=1.5",
"scipy>=1.6",
"tqdm>=4.50",
]
doc_reqs = [
"docutils<0.21",
"m2r2",
"sphinx",
"sphinx-bluebrain-theme",
"sphinx-jsonschema",
"sphinx_click",
]
test_reqs = [
"diff_pdf_visually>=1.7.0",
"decorator>=4",
"dictdiffer>=0.9",
"mock>=3",
"pytest>=6.1",
"pytest-click>=1.1",
"pytest-console-scripts>=1.4",
"pytest-cov>=4.1",
"pytest-html>=3.2",
"pytest-xdist>=2",
]
setup(
name="diameter-synthesis",
author="Blue Brain Project, EPFL",
description="Diametrize cells.",
long_description=Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
url="https://diameter-synthesis.readthedocs.io",
project_urls={
"Tracker": "https://github.com/BlueBrain/diameter-synthesis/issues",
"Source": "https://github.com/BlueBrain/diameter-synthesis",
},
license="Apache License 2.0",
packages=find_namespace_packages(include=["diameter_synthesis*"]),
python_requires=">=3.9",
use_scm_version=True,
setup_requires=[
"setuptools_scm",
],
install_requires=reqs,
extras_require={
"docs": doc_reqs,
"plot": "seaborn>=0.13",
"test": test_reqs,
},
entry_points={
"console_scripts": [
"diameter-synthesis=diameter_synthesis.cli:main",
],
},
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)