-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (46 loc) · 1.38 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', 'dhlmex/version.py').load_module()
install_requirements = [
'dataclasses>=0.6;python_version<"3.7"',
'requests>=2.22.0,<3.0.0',
'beautifulsoup4>=4.8.1',
'Unidecode==1.1.1',
]
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='dhlmex',
version=version.__version__,
author='Cuenca',
author_email='dev@cuenca.com',
description='Client library for DHL in Mexico',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/cuenca-mx/dhlmex-python',
packages=find_packages(),
include_package_data=True,
package_data=dict(dhlmex=['py.typed']),
python_requires='>=3.6',
install_requires=install_requirements,
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',
],
)