File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ sagemath >= 1.0
2+ cython >= 0.26
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ def run_tests(self):
6060
6161 # Specify the required Sage version
6262 sage_required_version = '>=7.5'
63+ REQUIREMENTS = [i .strip () for i in open ("requirements.txt" ).readlines ()]
6364
6465 setup (
6566 name = "sage_sample" ,
@@ -83,7 +84,7 @@ def run_tests(self):
8384 'Programming Language :: Python :: 2.7' ,
8485 ], # classifiers list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
8586 keywords = "SageMath packaging" ,
86- install_requires = [ 'sagemath' ] , # This ensures that Sage is installed
87+ install_requires = REQUIREMENTS , # This ensures that Sage is installed
8788 packages = ['sage_sample' ],
8889 ext_modules = cythonize (ext_modules ), # This line is only needed if there are cython files present
8990 include_package_data = True ,
You can’t perform that action at this time.
0 commit comments