apparently, having a setup.py is the right way to do it
parent
68e9833a21
commit
d1cacf8ef9
|
@ -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
|
|
@ -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',
|
||||||
|
]),
|
||||||
|
)
|
Loading…
Reference in New Issue