fix(packaging): resolve repo root from script directory
This commit is contained in:
1 parent
86da224448
commit
512c9a663f
1 file changed
+1
-1
+1
-1
@@ -41,7 +41,7 @@ import tempfile
|
|||||||
import urllib.request
|
import urllib.request
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
ROOT = Path(__file__).resolve().parent.parent
|
ROOT = Path(__file__).resolve().parent
|
||||||
PYPROJECT = ROOT / "pyproject.toml"
|
PYPROJECT = ROOT / "pyproject.toml"
|
||||||
INIT = ROOT / "beefy_player/__init__.py"
|
INIT = ROOT / "beefy_player/__init__.py"
|
||||||
FLAKE = ROOT / "flake.nix"
|
FLAKE = ROOT / "flake.nix"
|
||||||
|
|||||||
Reference in new issue
Block a user