setup.py 1.14 KB
Newer Older
Christophe Benz's avatar
Christophe Benz committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python3

from setuptools import setup

classifiers = """\
Development Status :: 4 - Beta
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Libraries :: Python Modules
License :: OSI Approved :: GNU Affero General Public License v3
"""


setup(
16
17
    name='validata_core',
    version='0.1.1',
Christophe Benz's avatar
Christophe Benz committed
18
19
20
21
22
23

    author='Christophe Benz',
    author_email='christophe.benz@jailbreak.paris',
    classifiers=[classifier for classifier in classifiers.split('\n') if classifier],
    description=__doc__,

24
    packages=['validata_core'],
Christophe Benz's avatar
Christophe Benz committed
25
    include_package_data=True,
26
    package_data={
27
        'validata_core': ['schemas.toml', 'validata_spec.json'],
28
    },
Christophe Benz's avatar
Christophe Benz committed
29
30
    install_requires=[
        'goodtables',
31
        'importlib_resources',
32
        'requests',
Pierre Dittgen's avatar
Pierre Dittgen committed
33
        'tabulator',
34
        'toml',
Christophe Benz's avatar
Christophe Benz committed
35
        'toolz',
36
37
38

        # for custom_checks
        'python-stdnum'
Christophe Benz's avatar
Christophe Benz committed
39
40
41
42
43
44
45
46
47
    ],

    setup_requires=[
        'pytest-runner',
    ],

    tests_require=[
        'pytest',
    ],
48
49
50
51
52
53

    entry_points={
        'console_scripts': [
            'validata = validata_core.cli:cli',
        ],
    },
Christophe Benz's avatar
Christophe Benz committed
54
)