-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
49 lines (44 loc) · 1.32 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
from importlib.machinery import SourceFileLoader
from setuptools import find_packages, setup
version = SourceFileLoader('version', 'mati/version.py').load_module()
test_requires = [
'pytest',
'pytest-vcr',
'pycodestyle',
'pytest-cov',
'black',
'isort[pipfile]',
'flake8',
'mypy',
]
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='mati',
version=version.__version__,
author='Cuenca',
author_email='dev@cuenca.com',
description='Client library for mati.io',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/cuenca-mx/mati-python',
packages=find_packages(),
include_package_data=True,
package_data=dict(mati=['py.typed']),
python_requires='>=3.6',
install_requires=[
'dataclasses>=0.6;python_version<"3.7"',
'requests>=2.22.0,<3.0.0',
'iso8601>=0.1.12,<0.2.0',
],
setup_requires=['pytest-runner'],
tests_require=test_requires,
extras_require=dict(test=test_requires),
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
)