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
|
||||
target/
|
||||
|
||||
# Virtualenv
|
||||
venv/
|
||||
|
|
0
lxc_net/__init__.py
Normal file
0
lxc_net/__init__.py
Normal file
|
@ -1,8 +1,8 @@
|
|||
""" Network objects """
|
||||
|
||||
import settings
|
||||
import util
|
||||
from xml_template import XMLTemplate
|
||||
from . import settings
|
||||
from . import util
|
||||
from .xml_template import XMLTemplate
|
||||
|
||||
import uuid
|
||||
import libvirt
|
|
@ -1,6 +1,6 @@
|
|||
""" Various utils """
|
||||
|
||||
import settings
|
||||
from . import settings
|
||||
|
||||
|
||||
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