From e1b0a86142e4beeb8534fab601623dbeaebf92cc Mon Sep 17 00:00:00 2001 From: Guillaume PHILIPPON Date: Thu, 2 Nov 2017 09:55:43 +0100 Subject: [PATCH] Fix conf.py to allow readthedoc documentation --- doc/source/conf.py | 2 +- openstack_lease_it/setup.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1b48862..28f52fa 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -18,7 +18,7 @@ # import os import sys -sys.path.append('../openstack_lease_it') +sys.path.insert(0, os.path.abspath('../../openstack_lease_it')) os.environ["DJANGO_SETTINGS_MODULE"] = "openstack_lease_it.settings" # -- General configuration ------------------------------------------------ diff --git a/openstack_lease_it/setup.py b/openstack_lease_it/setup.py index 773b004..8377b2f 100644 --- a/openstack_lease_it/setup.py +++ b/openstack_lease_it/setup.py @@ -4,8 +4,7 @@ name='openstack-lease-it', version='1.0', packages=['openstack_lease_it', - 'openstack_lease_it.openstack_lease_it', - 'openstack_lease_it.lease_it'], + 'lease_it'], include_package_data=True, install_requires=['django'], license='Apache License',