diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-07-08 16:03:50 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-07-08 16:03:50 +0200 |
| commit | a6cba736913dd78a8ac6907e0b0572cf90aee866 (patch) | |
| tree | 71209a03c7fddc268ed412c8d851a64d625bc520 /wrappers/python | |
| parent | 65dffc1f09af640417727d5d346e08edc6c2772e (diff) | |
RPM & Setup: Separate eduVPN and common name with a - or _
Diffstat (limited to 'wrappers/python')
| -rw-r--r-- | wrappers/python/main.py | 2 | ||||
| -rwxr-xr-x | wrappers/python/setup.py | 8 | ||||
| -rw-r--r-- | wrappers/python/tests.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/wrappers/python/main.py b/wrappers/python/main.py index d75504f..58e8b95 100644 --- a/wrappers/python/main.py +++ b/wrappers/python/main.py @@ -1,4 +1,4 @@ -import eduvpncommon.main as eduvpn +import eduvpn_common.main as eduvpn import webbrowser import json import sys diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py index 2b682cd..b2214e7 100755 --- a/wrappers/python/setup.py +++ b/wrappers/python/setup.py @@ -100,11 +100,11 @@ class bdist_wheel(_bdist_wheel): setup( - name="eduvpncommon", + name="eduvpn_common", version="0.1.0", - packages=["eduvpncommon"], + packages=["eduvpn_common"], python_requires=">=3.6", - package_dir={"eduvpncommon": "src"}, - package_data={"eduvpncommon": [f"lib/*{_libname}*"]}, + package_dir={"eduvpn_common": "src"}, + package_data={"eduvpn_common": [f"lib/*{_libname}*"]}, cmdclass={"bdist_wheel": bdist_wheel}, ) diff --git a/wrappers/python/tests.py b/wrappers/python/tests.py index e58e67d..cbec370 100644 --- a/wrappers/python/tests.py +++ b/wrappers/python/tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import unittest -import eduvpncommon.main as eduvpn +import eduvpn_common.main as eduvpn import webbrowser import sys import os |
