Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix requirements. close #179 #180

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,12 @@
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()

requirements = [
"ipython>=8.14.0",
"matplotlib>=3.5.2",
"networkx>=2.6.3",
"numpy>=1.20.3",
"requests>=2.26.0",
"scipy>=1.8.1",
"setuptools>=58.0.4",
"sparse>=0.13.0",
"scikit-build>=0.16.1",
"pybind11>=2.10.3",
"graphviz>=0.14.2",
"ply~=3.11",
"autograd>=1.6.2",
]
def parse_requirements(filename):
with open(filename, 'r') as file:
lines = (line.strip() for line in file)
return [line for line in lines if line and not line.startswith("#")]

requirements = parse_requirements("requirements.txt")

setup(
name="pyquafu",
Expand Down
Loading