Skip to content

Commit

Permalink
Merge pull request #180 from Zhaoyilunnn/fix-requirements
Browse files Browse the repository at this point in the history
Fix requirements. close #179
  • Loading branch information
ScQ-Cloud committed Jul 8, 2024
2 parents d603352 + bb1c0b0 commit 2c5f0bb
Showing 1 changed file with 6 additions and 15 deletions.
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

0 comments on commit 2c5f0bb

Please sign in to comment.