aports/testing/py3-more-properties/root.patch
2023-07-27 13:49:04 +00:00

15 lines
464 B
Diff

diff --git a/pypi_upload/setup.py b/pypi_upload/setup.py
index 9de24a4..44b8064 100644
--- a/pypi_upload/setup.py
+++ b/pypi_upload/setup.py
@@ -6,8 +6,8 @@ from pathlib import Path
from setuptools import find_packages, setup
from setuptools.command.install import install
-project_root = Path(__file__).parents[1]
-
+import pathlib
+project_root = pathlib.Path().resolve()
class VerifyCommand(install):
"""Custom command to verify module integrity"""