apparently, having a setup.py is the right way to do it

pull/86/head
eric 2018-05-23 21:30:52 -04:00
parent 68e9833a21
commit d1cacf8ef9
2 changed files with 20 additions and 1 deletions

View File

@ -10,12 +10,13 @@ services:
env: env:
- DJANGO_SETTINGS_MODULE=regluit.settings.travis - DJANGO_SETTINGS_MODULE=regluit.settings.travis
before_install: before_install:
- sudo mkdir /var/log/django - sudo mkdir /var/log/django
- sudo chmod 777 /var/log/django - sudo chmod 777 /var/log/django
install: install:
- pip install -r requirements_versioned.pip - pip install -r requirements_versioned.pip
- export PYTHONPATH="./:$PYTHONPATH" - pip install .
script: python manage.py test script: python manage.py test

18
setup.py Normal file
View File

@ -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',
]),
)