update
This commit is contained in:
parent
3051db8a7a
commit
ae6b8f443c
7
.rsync.sh
Normal file
7
.rsync.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//'
|
||||||
|
rsync "$@" -vax --include \*.py \
|
||||||
|
--exclude Toxygen.egg-info --exclude build \
|
||||||
|
--exclude \*.pyc --exclude .pyl\* --exclude \*~ --exclude \*.so \
|
||||||
|
./ ../tox_profile.git/|grep -v /$
|
@ -74,7 +74,7 @@ from socket import AF_INET, AF_INET6, inet_ntop
|
|||||||
|
|
||||||
warnings.filterwarnings('ignore')
|
warnings.filterwarnings('ignore')
|
||||||
|
|
||||||
from wrapper_tests import support_testing as ts
|
from tox_wrapper.tests import support_testing as ts
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# https://pypi.org/project/msgpack/
|
# https://pypi.org/project/msgpack/
|
||||||
@ -103,17 +103,17 @@ except ImportError as e: # noqa
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# https://git.plastiras.org/emdee/toxygen_wrapper
|
# https://git.plastiras.org/emdee/toxygen_wrapper
|
||||||
from wrapper.toxencryptsave import ToxEncryptSave
|
from tox_wrapper.toxencryptsave import ToxEncryptSave
|
||||||
from wrapper_tests import support_testing as ts
|
from tox_wrapper.tests import support_testing as ts
|
||||||
from wrapper_tests.support_http import bAreWeConnected, download_url
|
from tox_wrapper.tests.support_http import bAreWeConnected, download_url
|
||||||
from wrapper_tests.support_testing import sTorResolve
|
from tox_wrapper.tests.support_testing import sTorResolve
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
print(f"Import Warning {e}")
|
print(f"Import Warning {e}")
|
||||||
print("Download toxygen_wrapper to deal with encrypted tox files, from:")
|
print("Download toxygen_wrapper to deal with encrypted tox files, from:")
|
||||||
print("https://git.plastiras.org/emdee/toxygen_wrapper")
|
print("https://git.plastiras.org/emdee/toxygen_wrapper")
|
||||||
print("Just put the parent of the wrapper directory on your PYTHONPATH")
|
print("Just put the parent of the tox_wrapper directory on your PYTHONPATH")
|
||||||
print("You also need to link your libtoxcore.so and libtoxav.so")
|
print("You also need to link your libtoxcore.so and libtoxav.so")
|
||||||
print("and libtoxencryptsave.so into wrapper/../libs/")
|
print("and libtoxencryptsave.so into tox_wrapper/../libs/")
|
||||||
print("Link all 3 from libtoxcore.so if you have only libtoxcore.so")
|
print("Link all 3 from libtoxcore.so if you have only libtoxcore.so")
|
||||||
ToxEncryptSave = None
|
ToxEncryptSave = None
|
||||||
download_url = None
|
download_url = None
|
||||||
|
Loading…
Reference in New Issue
Block a user