diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-26 16:47:35 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-26 16:48:22 +0200 |
| commit | 0a19c2dedcaaa177b420eac99149515d84508204 (patch) | |
| tree | 34631498e694895a398da32fd077d855d938b113 /wrappers/python/setup.py | |
| parent | 060d133acbc1d11cd79e32c6861956c265d87c7f (diff) | |
Python: Move from src/ to eduvpn_common/ and absolufy imports
Diffstat (limited to 'wrappers/python/setup.py')
| -rwxr-xr-x | wrappers/python/setup.py | 4 |
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}, ) |
