setup.py 1.93 KB
Newer Older
Jamesie Pic's avatar
Jamesie Pic committed
1
from setuptools import setup, find_packages
Jamesie Pic's avatar
Jamesie Pic committed
2 3 4

setup(name='political-memory',
    version='0.0.1',
Jamesie Pic's avatar
Jamesie Pic committed
5 6 7 8 9
    description='Political Memory Project Memopol',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    include_package_data=True,
    zip_safe=False,
Nicolas Joyard's avatar
Nicolas Joyard committed
10
    author='James Pic, Laurent Peuch, Arnaud Fabre, Nicolas Joyard',
Jamesie Pic's avatar
Jamesie Pic committed
11 12 13
    author_email='cortex@worlddomination.be',
    url='http://github.com/political-memory/political_memory/',
    install_requires=[
14
        'django-autocomplete-light==3.1.6',
15
        'django-autoslug>=1.9,<1.10',
16
        'django-bootstrap3>=6,<7',
Jamesie Pic's avatar
Jamesie Pic committed
17
        'django-coffeescript>=0.7,<0.8',
18
        'django-compressor>=1,<2',
Jamesie Pic's avatar
Jamesie Pic committed
19
        'django-datetime-widget>=0.9,<1.0',
20
        'django-filter>=0.13,<0.14',
21
        'django-fontawesome>=0.2,<0.3',
22
        'django-rql-filter>=0.1.3,<0.2',
Jamesie Pic's avatar
Jamesie Pic committed
23 24
        'django-taggit>=0.17,<0.18',
        'django>=1.8,<1.9',
25
        'djangorestframework>=3,<4',
Jamesie Pic's avatar
Jamesie Pic committed
26 27 28
        'hamlpy>=0.82,<0.83',
        'ijson>=2.2,<2.3',
        'python-dateutil>=2.4,<2.5',
29 30 31
        'unicodecsv>=0.14,<0.15',
        'pytz',  # Always use up-to-date TZ data
        'django-suit>=0.2,<0.3',
Nicolas Joyard's avatar
Nicolas Joyard committed
32
        'psycopg2>=2,<3',
Jamesie Pic's avatar
Jamesie Pic committed
33
    ],
34
    extras_require={
35 36
        # Full version hardcode for testing dependencies so that
        # tests don't break on master without any obvious reason.
37
        'testing': [
38 39
            'codecov>=2,<3',
            'flake8>=2,<3',
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',
45
            'mock==2.0.0',
46
            'tox>=2.3,<3',
47
        ]
48 49 50
    },
    entry_points={
        'console_scripts': [
Nicolas Joyard's avatar
Nicolas Joyard committed
51 52
            'memopol_import_positions = representatives_positions.contrib.import_positions:main',  # noqa
            'memopol_import_recommendations = representatives_recommendations.contrib.import_recommendations:main',  # noqa
Jamesie Pic's avatar
Jamesie Pic committed
53
            'memopol = memopol.manage:main',
54
        ]
55
    }
Jamesie Pic's avatar
Jamesie Pic committed
56
)