Move twisted_ipa.py to osmopy lib

twisted_ipa is a module expected to be used by other python scripts, so
move it to osmopy dir to be installed as a lib (in python path) so it
can be later used.

twisted_ipa has some features to use it standalone for testing purposes.
This feature can still be used from new installation path.

Change-Id: I33a0c4263297abd9e111bf43e6e9967c06474318
This commit is contained in:
Pau Espin 2018-07-11 14:03:32 +02:00
parent 8cd233a826
commit 8739f9c4fc
4 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
__version__ = '0.0.9'
__all__ = ['obscvty', 'osmoutil', 'osmo_ipa', 'osmo_interact']
__all__ = ['obscvty', 'osmoutil', 'osmo_ipa', 'osmo_interact', 'twisted_ipa']

View File

@ -25,7 +25,7 @@
__version__ = "0.7.1" # bump this on every non-trivial change
from twisted.internet import defer, reactor
from twisted_ipa import CTRL, IPAFactory, __version__ as twisted_ipa_version
from osmopy.twisted_ipa import CTRL, IPAFactory, __version__ as twisted_ipa_version
from osmopy.osmo_ipa import Ctrl
from treq import post, collect
from suds.client import Client

View File

@ -30,7 +30,6 @@ elif sys.version_info.major == 3:
"scripts/osmo_ctrl.py",
"scripts/osmo_rate_ctr2csv.py",
"scripts/soap.py",
"scripts/twisted_ipa.py",
"scripts/osmo_interact_vty.py",
"scripts/osmo_interact_ctrl.py",
"scripts/osmo_verify_transcript_vty.py",