Skip to content

Commit

Permalink
update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
taigw committed Sep 20, 2021
1 parent e1dfd8f commit e9cc27a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires=[
"setuptools",
"numpy>=1.19.1",
"wheel"
]
build-backend = "setuptools.build_meta"
10 changes: 1 addition & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,8 @@ def finalize_options(self):
with open('README.md', encoding='utf-8') as f:
long_description = f.read()

def get_required_packages(fname="./requirements.txt"):
with open(fname) as f:
requirements = f.readlines()
requirements = [x.strip() for x in requirements]
return requirements

setup(name=package_name,
version = "0.2",
version = "0.2.1.1",
author ='Guotai Wang',
author_email = '[email protected]',
description = description,
Expand All @@ -103,8 +97,6 @@ def get_required_packages(fname="./requirements.txt"):
'Programming Language :: Python :: 3',
],
python_requires = '>=3.6',
setup_requires=['numpy'],
install_requires=get_required_packages(),
cmdclass={'build_ext': build_ext},)


Expand Down

0 comments on commit e9cc27a

Please sign in to comment.