diff --git a/.travis.yml b/.travis.yml index aa532e7..ee958ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: python python: - "2.7" env: - - DJANGO=1.8 + - DJANGO=1.11.14 install: - pip install -r dev/requirements.txt --use-mirrors script: diff --git a/Dockerfile b/Dockerfile index 3bfae3c..3ed8af4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN echo 'APT::Get::Clean=always;' >> /etc/apt/apt.conf.d/99AutomaticClean RUN apt-get update -qqy RUN DEBIAN_FRONTEND=noninteractive apt-get -qyy install \ -o APT::Install-Suggests=false \ - git python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev nginx libsasl2-modules + git python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev nginx libsasl2-modules ADD . /srv/webvirtcloud RUN chown -R www-data:www-data /srv/webvirtcloud diff --git a/Vagrantfile b/Vagrantfile index 539468d..a92a1ab 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,7 +10,7 @@ Vagrant.configure(2) do |config| sudo sed -i 's/auth_tcp = \"sasl\"/auth_tcp = \"none\"/g' /etc/libvirt/libvirtd.conf sudo service libvirt-bin restart sudo adduser vagrant libvirtd - sudo apt-get -y install python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev + sudo apt-get -y install python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev virtualenv /vagrant/venv source /vagrant/venv/bin/activate pip install -r /vagrant/dev/requirements.txt diff --git a/accounts/urls.py b/accounts/urls.py index 00bdefe..c0ea4f1 100644 --- a/accounts/urls.py +++ b/accounts/urls.py @@ -1,5 +1,4 @@ from django.conf.urls import url -from django.contrib import auth from django.contrib.auth import views as auth_views from . import views diff --git a/conf/requirements.txt b/conf/requirements.txt index 9fee7e9..b8b30ed 100644 --- a/conf/requirements.txt +++ b/conf/requirements.txt @@ -1,6 +1,5 @@ Django==1.11.14 websockify==0.8.0 gunicorn==19.9.0 -libvirt-python==4.4.0 -libxml2-python3==2.9.5 +libvirt-python==3.1.0 lxml==4.2.3 \ No newline at end of file diff --git a/dev/requirements.txt b/dev/requirements.txt index ce7c957..0f0118d 100644 --- a/dev/requirements.txt +++ b/dev/requirements.txt @@ -1,4 +1,4 @@ -r ../conf/requirements.txt -pep8==1.6.2 -pyflakes==0.8.1 -pylint==1.4.3 +pep8==1.7.1 +pyflakes==2.0.0 +pylint==1.9.2