setup.py 2.82 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='memopol',
    version='0.0.2',
okhin's avatar
okhin committed
5
    description='Memopol Project',
Jamesie Pic's avatar
Jamesie Pic committed
6 7 8 9
    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
    author_email='cortex@worlddomination.be',
okhin's avatar
okhin committed
12
    url='https://git.laquadrature.net/memopol/memopol',
Jamesie Pic's avatar
Jamesie Pic committed
13
    install_requires=[
14
        'django-autocomplete-light==3.2.0',
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.15,<0.16',
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,<3.5.1',
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',
33
        'django-haystack==2.6.0',
34
        'pysolr==3.6.0',
Archerfou's avatar
Archerfou committed
35
        'Whoosh==2.7.4',
36
        'alabaster==0.7.10',
37
        'django-nested-admin==3.0.17',
Jamesie Pic's avatar
Jamesie Pic committed
38
    ],
39
    extras_require={
40 41
        # Full version hardcode for testing dependencies so that
        # tests don't break on master without any obvious reason.
42
        'testing': [
43 44
            'codecov>=2,<3',
            'flake8>=2,<3',
45
            'django-responsediff>=0.7,<0.8',
46 47 48 49
            'pep8>=1,<2',
            'pytest>=2,<3',
            'pytest-django>=2,<3',
            'pytest-cov>=2,<3',
50
            'mock==2.0.0',
51
            'tox>=2.3,<3',
52
        ]
53 54 55
    },
    entry_points={
        'console_scripts': [
56 57 58 59 60 61 62
            'parltrack_import_representatives = representatives.contrib.parltrack.import_representatives:main',  # noqa
            'parltrack_import_dossiers = representatives_votes.contrib.parltrack.import_dossiers:main',  # noqa
            'parltrack_import_votes = representatives_votes.contrib.parltrack.import_votes:main',  # noqa
            'francedata_import_representatives = representatives.contrib.francedata.import_representatives:main',  # noqa
            'francedata_import_dossiers = representatives_votes.contrib.francedata.import_dossiers:main',  # noqa
            'francedata_import_scrutins = representatives_votes.contrib.francedata.import_scrutins:main',  # noqa
            'francedata_import_votes = representatives_votes.contrib.francedata.import_votes:main',  # noqa
Nicolas Joyard's avatar
Nicolas Joyard committed
63 64
            '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
65
            'memopol = memopol.manage:main',
66
        ]
67
    }
Jamesie Pic's avatar
Jamesie Pic committed
68
)