File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed
Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 11colorcet
2- itk-core >= 5.2.0
3- itk-filtering >= 5.2.0
2+ itk-core >= 5.2.0.post2
3+ itk-filtering >= 5.2.0.post2
44itk-meshtopolydata >= 0.7.0
55ipydatawidgets >= 4.0.1
66ipywidgets >= 7.5.1
Original file line number Diff line number Diff line change @@ -129,6 +129,13 @@ def run(self):
129129with open (os .path .join (here , 'itkwidgets' , '_version.py' )) as f :
130130 exec (f .read (), {}, version_ns )
131131
132+ requirements = []
133+ with open ('requirements.txt' ) as f :
134+ for line in f :
135+ stripped = line .split ("#" )[0 ].strip ()
136+ if len (stripped ) > 0 :
137+ requirements .append (stripped )
138+
132139setup_args = {
133140 'name' : 'itkwidgets' ,
134141 'version' : version_ns ['__version__' ],
@@ -152,19 +159,7 @@ def run(self):
152159 'itkwidgets/static/itk/WebWorkers/Pipeline.worker.js'
153160 ]),
154161 ],
155- 'install_requires' : [
156- 'colorcet>=2.0.0' ,
157- 'itk-core>=5.2.0.post2' ,
158- 'itk-filtering>=5.2.0.post2' ,
159- 'itk-meshtopolydata>=0.7.0' ,
160- 'ipydatawidgets>=4.0.1' ,
161- 'ipywidgets>=7.5.1' ,
162- 'ipympl>=0.4.1' ,
163- 'matplotlib' ,
164- 'numpy' ,
165- 'six' ,
166- 'zstandard' ,
167- ],
162+ 'install_requires' : requirements ,
168163 'packages' : find_packages (),
169164 'zip_safe' : False ,
170165 'cmdclass' : {
You can’t perform that action at this time.
0 commit comments