Skip to content

Commit

Permalink
fix: unknown path during pip installation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Nov 29, 2022
1 parent 78bdee1 commit 7ab1b14
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
from setuptools import setup, find_packages

os.chdir(Path(__file__).parent)
SRC = Path("discopop_explorer")
Explorer_SRC = Path("discopop_explorer")
Wizard_SRC = Path("discopop_wizard")


def get_version():
Expand All @@ -24,10 +25,10 @@ def get_version():
def get_requirements():
requirements = []
# add discopop_explorer requirements
with open(SRC / "requirements.txt") as f:
with open(Explorer_SRC / "requirements.txt") as f:
requirements += [line.rstrip() for line in f]
# add discopop_wizard requirements
with open(Path("discopop_wizard") / "requirements.txt") as f:
with open(Wizard_SRC / "requirements.txt") as f:
requirements += [line.rstrip() for line in f]
return requirements

Expand Down

0 comments on commit 7ab1b14

Please sign in to comment.