Use virtualenv, rename src -> lxc_net

Fix imports accordingly
This commit is contained in:
Théophile Bastian 2020-03-09 12:58:57 +01:00
parent 260417bcd0
commit 003e774fc4
9 changed files with 8 additions and 4 deletions

2
.gitignore vendored
View file

@ -58,3 +58,5 @@ docs/_build/
# PyBuilder
target/
# Virtualenv
venv/

0
lxc_net/__init__.py Normal file
View file

View 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

View file

@ -1,6 +1,6 @@
""" Various utils """
import settings
from . import settings
class NumberedClass:

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
libvirt-python
jinja2