setup.py 2.79 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.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 35
        'pysolr==3.6.0',
        'Whoosh==2.7.4'
Jamesie Pic's avatar
Jamesie Pic committed
36
    ],
37
    extras_require={
38 39
        # Full version hardcode for testing dependencies so that
        # tests don't break on master without any obvious reason.
40
        'testing': [
41 42
            'codecov>=2,<3',
            'flake8>=2,<3',
43
            'django-responsediff>=0.7,<0.8',
44 45 46 47
            'pep8>=1,<2',
            'pytest>=2,<3',
            'pytest-django>=2,<3',
            'pytest-cov>=2,<3',
48
            'mock==2.0.0',
49
            'tox>=2.3,<3',
50
        ]
51 52 53
    },
    entry_points={
        'console_scripts': [
54 55 56 57 58 59 60
            '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
61 62
            '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
63
            'memopol = memopol.manage:main',
64
        ]
65
    }
Jamesie Pic's avatar
Jamesie Pic committed
66
)