File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Auto-generated by tools/update_requirements.py
1
2
click >= 6.6.0
2
3
networkx >= 1.9
3
4
nibabel >= 2.1.0
4
- numpy >= 1.9.0 ; python_version < "3.7"
5
+ numpy >= 1.12 ; python_version < "3.7"
5
6
numpy >= 1.15.3 ; python_version >= "3.7"
6
7
packaging
7
8
prov >= 1.5.2
8
- neurdflib
9
9
pydot >= 1.2.3
10
10
pydotplus
11
11
python-dateutil >= 2.2
@@ -14,3 +14,4 @@ simplejson>=3.8.0
14
14
traits >= 4.6 ,!= 5.0
15
15
filelock >= 3.0.0
16
16
etelemetry
17
+ neurdflib
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+ from runpy import run_path
3
+ from pathlib import Path
4
+
5
+ repo_root = Path (__file__ ).parent .parent
6
+ info_file = repo_root / "nipype" / "info.py"
7
+ reqs = repo_root / "requirements.txt"
8
+
9
+ info = run_path (info_file )
10
+ requirements = info ["REQUIRES" ]
11
+
12
+ script_name = Path (__file__ ).relative_to (repo_root )
13
+
14
+ lines = [f"# Auto-generated by { script_name } " , "" ]
15
+
16
+ # Write requirements
17
+ lines [1 :- 1 ] = requirements
18
+ reqs .write_text ("\n " .join (lines ))
You can’t perform that action at this time.
0 commit comments