forked from dani-boy/stpmex-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (47 loc) · 1.33 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
from importlib.machinery import SourceFileLoader
from setuptools import find_packages, setup
version = SourceFileLoader('version', 'stpmex/version.py').load_module()
install_requires = [
'pyopenssl',
'clabe',
'pydantic',
'dataclasses',
'requests',
]
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='stpmex',
version=version.__version__,
author='Cuenca',
author_email='[email protected]',
description='Client library for stpmex.com',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/cuenca-mx/stpmex-python',
packages=find_packages(),
include_package_data=True,
package_data=dict(stpmex=['py.typed']),
python_requires='>=3.6',
install_requires=install_requires,
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',
],
)