setup.py 1.23 KB
Newer Older
Nicolas Joyard committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import os
from setuptools import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name="parlapi",
    version="0.0.1",
    author="Nicolas Joyard",
    author_email="joyard.nicolas@gmail.com",
    description=("A browsable API over French parliament data dumps"),
    license="MIT",
Nicolas Joyard committed
16
    keywords="django politics open data france french parliament senat assemblee nationale",
Nicolas Joyard committed
17 18 19 20 21 22
    url="https://github.com/njoyard/parlapi",
    packages=['parlapi'],
    long_description=read('README.md'),
    install_requires=[
        'beautifulsoup4>=4.4,<5',
        'click>=6.6,<7',
23
        'dateparser>=0.4,<0.5',
Nicolas Joyard committed
24
        'flask>=0.11,<0.12',
25
        'flask-marshmallow>=0.7,<0.8',
Nicolas Joyard committed
26 27 28
        'flask-sqlalchemy>=2.1,<3',
        'html5lib>=0.9999999,<1',
        'ijson>=2.3,<3',
29
        'marshmallow-sqlalchemy>=0.10,<0.11',
30
        'psycopg2>=2,<3',
31
        'requests>=2.10,<3',
Nicolas Joyard committed
32 33 34 35 36
    ],
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Framework :: Flask",
        "Intended Audience :: Developers",
Nicolas Joyard committed
37
        "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
Nicolas Joyard committed
38 39 40 41 42 43
    ],
    entry_points='''
        [console_scripts]
        parlapi=parlapi.cli:cli
    '''
)