setup.py 1.84 KB
Newer Older
Jamesie Pic's avatar
Quality  
Jamesie Pic committed
1
from setuptools import setup
Jamesie Pic's avatar
Jamesie Pic committed
2 3 4 5 6 7

setup(name='political-memory',
    version='0.0.1',
    description='OpenShift App',
    packages=['political_memory'],
    package_dir={'political_memory': '.'},
Nicolas Joyard's avatar
Nicolas Joyard committed
8
    author='James Pic, Laurent Peuch, Arnaud Fabre, Nicolas Joyard',
Jamesie Pic's avatar
Jamesie Pic committed
9 10 11
    author_email='cortex@worlddomination.be',
    url='http://github.com/political-memory/political_memory/',
    install_requires=[
12
        'django-autocomplete-light>=3.0,<4.0',
13
        'django-autoslug>=1.9,<1.10',
14
        'django-bootstrap3>=6,<7',
Jamesie Pic's avatar
Quality  
Jamesie Pic committed
15
        'django-coffeescript>=0.7,<0.8',
16
        'django-compressor>=1,<2',
Jamesie Pic's avatar
Quality  
Jamesie Pic committed
17
        'django-datetime-widget>=0.9,<1.0',
18
        'django-filter>=0.13,<0.14',
Nicolas Joyard's avatar
Nicolas Joyard committed
19
        'django-representatives-votes==0.0.24',
Nicolas Joyard's avatar
Nicolas Joyard committed
20
        'django-representatives==0.0.34',
21
        'django-rql-filter>=0.1.3,<0.2',
Jamesie Pic's avatar
Quality  
Jamesie Pic committed
22 23
        'django-taggit>=0.17,<0.18',
        'django>=1.8,<1.9',
24
        'djangorestframework>=3,<4',
Jamesie Pic's avatar
Quality  
Jamesie Pic committed
25 26 27
        'hamlpy>=0.82,<0.83',
        'ijson>=2.2,<2.3',
        'python-dateutil>=2.4,<2.5',
28 29 30 31
        'unicodecsv>=0.14,<0.15',
        'pytz',  # Always use up-to-date TZ data
        'django-suit>=0.2,<0.3',
        'sqlparse>=0.1,<0.2',
Nicolas Joyard's avatar
Nicolas Joyard committed
32
        'psycopg2>=2,<3',
Jamesie Pic's avatar
Jamesie Pic committed
33
    ],
Jamesie Pic's avatar
Jamesie Pic committed
34
    extras_require={
35 36
        # Full version hardcode for testing dependencies so that
        # tests don't break on master without any obvious reason.
Jamesie Pic's avatar
Jamesie Pic committed
37
        'testing': [
38 39
            'codecov>=2,<3',
            'flake8>=2,<3',
Nicolas Joyard's avatar
Nicolas Joyard committed
40
            'django-responsediff>=0.7,<0.8',
41 42 43 44
            'pep8>=1,<2',
            'pytest>=2,<3',
            'pytest-django>=2,<3',
            'pytest-cov>=2,<3',
Jamesie Pic's avatar
Jamesie Pic committed
45
        ]
46 47 48
    },
    entry_points={
        'console_scripts': [
Nicolas Joyard's avatar
Nicolas Joyard committed
49 50
            'memopol_import_positions = representatives_positions.contrib.import_positions:main',  # noqa
            'memopol_import_recommendations = representatives_recommendations.contrib.import_recommendations:main',  # noqa
51
        ]
Jamesie Pic's avatar
Jamesie Pic committed
52
    }
Jamesie Pic's avatar
Jamesie Pic committed
53
)