summaryrefslogtreecommitdiff
path: root/wrappers/python/setup.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-26 16:47:35 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-26 16:48:22 +0200
commit0a19c2dedcaaa177b420eac99149515d84508204 (patch)
tree34631498e694895a398da32fd077d855d938b113 /wrappers/python/setup.py
parent060d133acbc1d11cd79e32c6861956c265d87c7f (diff)
Python: Move from src/ to eduvpn_common/ and absolufy imports
Diffstat (limited to 'wrappers/python/setup.py')
-rwxr-xr-xwrappers/python/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py
index b2214e7..499627e 100755
--- a/wrappers/python/setup.py
+++ b/wrappers/python/setup.py
@@ -94,7 +94,7 @@ class bdist_wheel(_bdist_wheel):
print(f"Building wheel for platform {self.plat_name}")
# setuptools will only use paths inside the package for package_data, so we copy the library
- tmp_lib = shutil.copy(f"{self.exports_lib_path}/{libpath}", "src/lib/")
+ tmp_lib = shutil.copy(f"{self.exports_lib_path}/{libpath}", "eduvpn_common/lib/")
_bdist_wheel.run(self)
os.remove(tmp_lib)
@@ -104,7 +104,7 @@ setup(
version="0.1.0",
packages=["eduvpn_common"],
python_requires=">=3.6",
- package_dir={"eduvpn_common": "src"},
+ package_dir={"eduvpn_common": "eduvpn_common"},
package_data={"eduvpn_common": [f"lib/*{_libname}*"]},
cmdclass={"bdist_wheel": bdist_wheel},
)