-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (62 loc) · 2.15 KB
/
setup.py
File metadata and controls
68 lines (62 loc) · 2.15 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Always prefer setuptools over distutils
# To use a consistent encoding
from codecs import open
from os import path, chdir
from setuptools import setup, find_packages
# The directory containing this file
here = path.abspath(path.dirname(__file__))
chdir(here)
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Version
version_contents = {}
with open(path.join(here, 'shipday', 'version.py'), encoding="utf-8") as f:
exec(f.read(), version_contents)
# This call to setup() does all the work
setup(
name='shipday',
version=version_contents['VERSION'],
description="Python library for Shipday API",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://shipday.com/",
author="Shipday",
author_email="shahriar@shipday.com",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules"
],
keywords=["Shipday",
"DoorDash",
"Uber",
"Delivery API",
"Dispatch API",
"DoorDash API",
"Uber API",
"Dispatch App",
"Courier App",
"Delivery Dispatch",
"Delivery integration",
"Delivery Management",
"Dispatch Management",
"Delivery Service Integration",
"Local Delivery API"],
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
install_requires=[
'requests >= 2.20; python_version >= "3.0"'
],
python_requires=">=3.6",
setup_requires=["wheel"],
)