Skip to content

Commit 0038c91

Browse files
committed
optional dependencies
1 parent 53a9d26 commit 0038c91

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
DIST = ["tvb-gdist"]
2020

21+
TRIMESH_FULL = ["rtree", "shapely"]
22+
2123
# grab version
2224
verstr = "unknown"
2325
try:
@@ -45,9 +47,9 @@
4547
python_requires=">=3.6", # enforce Python 3.6 as minimum
4648
install_requires=BASE_REQUIREMENTS,
4749
extras_require={
48-
"full": DIST,
49-
"dev": DIST + TEST_REQUIREMENTS,
50-
"doc": DIST + TEST_REQUIREMENTS + DOC_REQUIREMENTS,
50+
"full": DIST + TRIMESH_FULL,
51+
"dev": DIST + TEST_REQUIREMENTS + TRIMESH_FULL,
52+
"doc": DIST + TEST_REQUIREMENTS + TRIMESH_FULL + DOC_REQUIREMENTS,
5153
},
5254
classifiers=[
5355
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)