Skip to content

Commit

Permalink
Remove partridge dependency. try to fix setup.py bug
Browse files Browse the repository at this point in the history
  • Loading branch information
e-lo committed Apr 17, 2024
1 parent d470cc0 commit 92eb4f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Expand Up @@ -4,7 +4,6 @@ geopandas >= 0.8.0
osmnx >= 0.12
pandas >= 1.6
pandera[geopandas]
partridge >= 1.1
pydantic >= 2
pyarrow
projectcard
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Expand Up @@ -20,9 +20,8 @@
EXTRAS = ["tests", "viz", "docs"]
extras_require = {}
for e in EXTRAS:
with open(f"requirements.{e}.txt") as f:
extras_require[e] = [r.strip() for r in f.readlines()]

with open(f"requirements.{e}.txt", encoding='utf-8') as f:
extras_require[e] = [r.strip() for r in f if r.strip() and not r.startswith('#')]

setup(
name="network_wrangler",
Expand Down

0 comments on commit 92eb4f7

Please sign in to comment.