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
12click >= 6.6.0
23networkx >= 1.9
34nibabel >= 2.1.0
4- numpy >= 1.9.0 ; python_version < "3.7"
5+ numpy >= 1.12 ; python_version < "3.7"
56numpy >= 1.15.3 ; python_version >= "3.7"
67packaging
78prov >= 1.5.2
8- neurdflib
99pydot >= 1.2.3
1010pydotplus
1111python-dateutil >= 2.2
@@ -14,3 +14,4 @@ simplejson>=3.8.0
1414traits >= 4.6 ,!= 5.0
1515filelock >= 3.0.0
1616etelemetry
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