-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (61 loc) · 2.53 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
55
56
57
58
59
60
61
62
63
64
65
66
# coding: utf-8
import sys
from setuptools import setup, find_packages # noqa: H301
from distutils.core import Extension
NAME = "mot-history-api-py-sdk"
VERSION = "1.0.2"
REQUIRES = ["requests"]
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'LONG_DESCRIPTION.rst')) as f:
long_description = f.read()
macros = []
if sys.platform.startswith('freebsd') or sys.platform == 'darwin':
macros.append(('PLATFORM_BSD', '1'))
elif 'linux' in sys.platform:
macros.append(('_GNU_SOURCE', ''))
setup(
name=NAME,
version=VERSION,
description="The SDK provides convenient access to the MOT History API for applications written in the Python programming language.",
long_description=long_description,
long_description_content_type="text/x-rst",
author="Finbarrs Oketunji",
author_email="f@finbarrs.eu",
url="https://documentation.history.mot.api.gov.uk/",
packages=find_packages(),
include_package_data=True,
install_requires=REQUIRES,
zip_safe=False,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
project_urls={
"Bug Tracker": "https://github.com/0xnu/mot-history-api-sdk/issues",
"Changes": "https://github.com/0xnu/mot-history-api-sdk/blob/main/CHANGELOG.md",
"Documentation": "https://documentation.history.mot.api.gov.uk/",
"Source Code": "https://github.com/0xnu/mot-history-api-sdk",
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
],
setup_requires=["wheel"],
keywords=["dvsa", "gov", "uk", "mot", "hgv", "psv", "vehicle", "registration", "results"],
license='MIT',
)