From d1cacf8ef92742c5376bb059db1a759892a06ea1 Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 23 May 2018 21:30:52 -0400 Subject: [PATCH] apparently, having a setup.py is the right way to do it --- .travis.yml | 3 ++- setup.py | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 setup.py diff --git a/.travis.yml b/.travis.yml index ca3b68e2..168cd2aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,12 +10,13 @@ services: env: - DJANGO_SETTINGS_MODULE=regluit.settings.travis + before_install: - sudo mkdir /var/log/django - sudo chmod 777 /var/log/django install: - pip install -r requirements_versioned.pip - - export PYTHONPATH="./:$PYTHONPATH" + - pip install . script: python manage.py test \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..e7e63206 --- /dev/null +++ b/setup.py @@ -0,0 +1,18 @@ +from setuptools import setup, find_packages + +setup( + name='Regluit', + version='3.0.0', + description='Web application for Unglue.it', + author='Free Ebook Foundation', + author_email='info@ebookfoundation.org', + url='https://unglue.it', + packages=find_packages(exclude=[ + 'bookdata', + 'deploy' + 'logs', + 'selenium', + 'static', + 'vagrant', + ]), +) \ No newline at end of file