forked from Parquery/icontract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (48 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os
from setuptools import setup, find_packages
# pylint: disable=redefined-builtin
here = os.path.abspath(os.path.dirname(__file__)) # pylint: disable=invalid-name
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as fid:
long_description = fid.read() # pylint: disable=invalid-name
setup(
name='icontract',
version='2.1.0',
description='Provide design-by-contract with informative violation messages',
long_description=long_description,
url='https://github.com/Parquery/icontract',
author='Marko Ristin',
author_email='[email protected]',
classifiers=[
# yapf: disable
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
# yapf: enable
],
license='License :: OSI Approved :: MIT License',
keywords='design-by-contract precondition postcondition validation',
packages=find_packages(exclude=['tests']),
install_requires=['asttokens>=1,<2'],
extras_require={
'dev': [
# yapf: disable
'mypy==0.750',
'pylint==2.3.1',
'yapf==0.20.2',
'tox>=3.0.0',
'pydocstyle>=2.1.1,<3',
'coverage>=4.5.1,<5',
'docutils>=0.14,<1',
'pygments>=2.2.0,<3'
# yapf: enable
],
},
py_modules=['icontract'],
package_data={"icontract": ["py.typed"]})