Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evan Edmond
fslpy
Commits
47e19f6f
Commit
47e19f6f
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Optional dependencies are now optional
parent
3b3f862e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
requirements-extra.txt
+4
-0
4 additions, 0 deletions
requirements-extra.txt
requirements.txt
+0
-4
0 additions, 4 deletions
requirements.txt
setup.py
+9
-2
9 additions, 2 deletions
setup.py
with
13 additions
and
6 deletions
requirements-extra.txt
0 → 100644
+
4
−
0
View file @
47e19f6f
indexed_gzip>=0.6.1,<1
wxpython>=3.0.2.0,<4.1
trimesh==2.*
rtree==0.8
This diff is collapsed.
Click to expand it.
requirements.txt
+
0
−
4
View file @
47e19f6f
...
...
@@ -3,7 +3,3 @@ deprecation==1.*
numpy
==1.*
scipy
>=0.18,<1
nibabel
==2.*
indexed_gzip
>=0.6.1,<1
wxpython
>=3.0.2.0,<4.1
trimesh
==2
rtree
==0.8
This diff is collapsed.
Click to expand it.
setup.py
+
9
−
2
View file @
47e19f6f
...
...
@@ -20,10 +20,16 @@ from setuptools import Command
basedir
=
op
.
dirname
(
__file__
)
# Dependencies are listed in requirements.txt
install_requires
=
open
(
op
.
join
(
basedir
,
'
requirements.txt
'
),
'
rt
'
).
readlines
()
with
open
(
op
.
join
(
basedir
,
'
requirements.txt
'
),
'
rt
'
)
as
f
:
install_requires
=
f
.
readlines
()
# Development/test dependencies are listed in requirements-dev.txt
dev_requires
=
open
(
op
.
join
(
basedir
,
'
requirements-dev.txt
'
),
'
rt
'
).
readlines
()
with
open
(
op
.
join
(
basedir
,
'
requirements-dev.txt
'
),
'
rt
'
)
as
f
:
dev_requires
=
f
.
readlines
()
# Optional dependencies are listed in requirements-extra.txt
with
open
(
op
.
join
(
basedir
,
'
requirements-extra.txt
'
),
'
rt
'
)
as
f
:
extra_requires
=
{
'
extras
'
:
f
.
readlines
()}
packages
=
find_packages
(
exclude
=
(
'
doc
'
,
'
tests
'
,
'
dist
'
,
'
build
'
,
'
fslpy.egg-info
'
))
...
...
@@ -109,6 +115,7 @@ setup(
packages
=
packages
,
install_requires
=
install_requires
,
extras_require
=
extra_requires
,
setup_requires
=
dev_requires
,
test_suite
=
'
tests
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment