Use virtualenv, rename src -> lxc_net
Fix imports accordingly
This commit is contained in:
parent
260417bcd0
commit
003e774fc4
9 changed files with 8 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -58,3 +58,5 @@ docs/_build/
|
||||||
# PyBuilder
|
# PyBuilder
|
||||||
target/
|
target/
|
||||||
|
|
||||||
|
# Virtualenv
|
||||||
|
venv/
|
||||||
|
|
0
lxc_net/__init__.py
Normal file
0
lxc_net/__init__.py
Normal file
|
@ -1,8 +1,8 @@
|
||||||
""" Network objects """
|
""" Network objects """
|
||||||
|
|
||||||
import settings
|
from . import settings
|
||||||
import util
|
from . import util
|
||||||
from xml_template import XMLTemplate
|
from .xml_template import XMLTemplate
|
||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
import libvirt
|
import libvirt
|
|
@ -1,6 +1,6 @@
|
||||||
""" Various utils """
|
""" Various utils """
|
||||||
|
|
||||||
import settings
|
from . import settings
|
||||||
|
|
||||||
|
|
||||||
class NumberedClass:
|
class NumberedClass:
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
libvirt-python
|
||||||
|
jinja2
|
Loading…
Reference in a new issue