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

setup(
    name='django-representatives-votes',
Nicolas Joyard's avatar
Nicolas Joyard committed
5
    version='0.0.23',
Jamesie Pic's avatar
Jamesie Pic committed
6
    description='Base app for government representative votes',
Nicolas Joyard's avatar
Nicolas Joyard committed
7
    author='Olivier Le Thanh Duong, Laurent Peuch, Arnaud Fabre, James Pic, Nicolas Joyard',
Jamesie Pic's avatar
Jamesie Pic committed
8 9 10 11 12 13
    author_email='olivier@lethanh.be',
    url='http://github.com/political-memory/django-representatives-votes',
    packages=find_packages(),
    include_package_data=True,
    license='GPLv3',
    keywords='django government parliament votes',
Jamesie Pic's avatar
Jamesie Pic committed
14
    install_requires=[
15
        'django>1.8,<1.9',
Nicolas Joyard's avatar
Nicolas Joyard committed
16
        'django-representatives>=0.0.33',
17 18 19
        'py-dateutil>=2,<3',
        'ijson>=2,<3',
        'pytz',  # Always use up-to-date TZ data
Jamesie Pic's avatar
Jamesie Pic committed
20
    ],
Jamesie Pic's avatar
Jamesie Pic committed
21 22
    extras_require={
        'api': [
23
            'django-filter>=0.13,<0.14',
24
            'djangorestframework>=3.3,<3.4',
25 26 27 28 29 30 31 32 33 34
        ],
        'testing': [
            'codecov>=2,<3',
            'flake8>=2,<3',
            'mock>=2,<3',
            'pep8>=1,<2',
            'pytest>=2,<3',
            'pytest-django>=2,<3',
            'pytest-cov>=2,<3',
            'django-responsediff>=0.6,<0.7'
Jamesie Pic's avatar
Jamesie Pic committed
35 36
        ]
    },
37 38 39 40
    entry_points={
        'console_scripts': [
            'parltrack_import_dossiers = representatives_votes.contrib.parltrack.import_dossiers:main',
            'parltrack_import_votes = representatives_votes.contrib.parltrack.import_votes:main',
41 42 43
            'francedata_import_dossiers = representatives_votes.contrib.francedata.import_dossiers:main',
            'francedata_import_scrutins = representatives_votes.contrib.francedata.import_scrutins:main',
            'francedata_import_votes = representatives_votes.contrib.francedata.import_votes:main',
44 45
        ]
    },
Jamesie Pic's avatar
Jamesie Pic committed
46
    classifiers=[
47
        'Development Status :: 4 - Beta',
Jamesie Pic's avatar
Jamesie Pic committed
48 49 50 51 52 53 54 55 56
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)