Skip to content

Commit 7ab1b14

Browse files
fix: unknown path during pip installation
1 parent 78bdee1 commit 7ab1b14

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
from setuptools import setup, find_packages
1414

1515
os.chdir(Path(__file__).parent)
16-
SRC = Path("discopop_explorer")
16+
Explorer_SRC = Path("discopop_explorer")
17+
Wizard_SRC = Path("discopop_wizard")
1718

1819

1920
def get_version():
@@ -24,10 +25,10 @@ def get_version():
2425
def get_requirements():
2526
requirements = []
2627
# add discopop_explorer requirements
27-
with open(SRC / "requirements.txt") as f:
28+
with open(Explorer_SRC / "requirements.txt") as f:
2829
requirements += [line.rstrip() for line in f]
2930
# add discopop_wizard requirements
30-
with open(Path("discopop_wizard") / "requirements.txt") as f:
31+
with open(Wizard_SRC / "requirements.txt") as f:
3132
requirements += [line.rstrip() for line in f]
3233
return requirements
3334

0 commit comments

Comments
 (0)