File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313DESCRIPTION = 'A package for solving partial differential equations'
1414
1515# Import the README and use it as the long-description.
16- # Note: this will only work if 'README.md' is present in your MANIFEST.in file!
1716try :
1817 with io .open (os .path .join (here , 'README.md' ), encoding = 'utf-8' ) as f :
1918 LONG_DESCRIPTION = '\n ' + f .read ()
2019except FileNotFoundError :
2120 long_description = DESCRIPTION
2221
22+ # Read requirements from requirements.txt
23+ with open ('requirements.txt' ) as f :
24+ requirements = [line .strip () for line in f if line .strip () and not line .startswith ('#' )]
25+
2326setup (
2427 name = NAME ,
2528 version = '0.1' ,
2932 author = 'Chelsea De Marseilla, Debdal Chowdhury' ,
3033 license = 'Apache License 2.0' ,
3134 packages = find_packages (),
32- install_requires = [
33- 'matplotlib==3.9.2' ,
34- 'numpy==2.1.3' ,
35- 'scipy==1.14.1' ,
36- 'pandas==2.2.3' ,
37- 'pytest==8.3.4'
38- ],
35+ install_requires = requirements ,
36+ extras_require = {
37+ 'package-tools' : [
38+ 'setuptools' ,
39+ 'wheel' ,
40+ 'twine'
41+ ]
42+ },
3943 url = 'https://github.com/GPUEngineering/PDESolvers' ,
4044)
You can’t perform that action at this time.
0 commit comments