Skip to content

Commit

Permalink
Entered extra_requirements explicit to setup.py for now...
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Aug 14, 2023
1 parent 186819e commit 20a9a8f
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,25 @@ def build_extension(self, ext: CMakeExtension) -> None:

requirements = ["numpy"]

with open(SOURCE_DIR / "requirements_full.txt", "r") as f:
extra_requirements = [
line for line in f.readlines() if not line.startswith("#")
]
# Uncomment when requirements_full.txt have entered the container
#with open(SOURCE_DIR / "requirements_full.txt", "r") as f:
# extra_requirements = [
# line.strip() for line in f.readlines() if not line.startswith("#")
# ]
extra_requirements = [
"fortran-language-server>=1.12.0,<1.13",
"PyYAML>=5.4.1,<7",
"psycopg2-binary==2.9.5",
"pandas>=1.2,<2.1",
"rdflib>=4.2.1,<7",
"pint>=0.15,<1",
"openpyxl>=3.0.9,<3.2",
"pymongo>=4.4.0,<5",
"tripper>=0.2.5,<0.3",
"pydantic>=1.10.0,<3",
"requests>=2.10,<3",
]


version = re.search(
r"project\([^)]*VERSION\s+([0-9.]+)",
Expand Down

0 comments on commit 20a9a8f

Please sign in to comment.