-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
43 lines (36 loc) · 1.27 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
import os
from setuptools import find_packages, setup
NAME = "flightradar_client"
AUTHOR = "Malte Franken"
AUTHOR_EMAIL = "[email protected]"
DESCRIPTION = "Flightradar client library."
URL = "https://github.com/exxamalte/python-flightradar-client"
REQUIRES = ["haversine>=2.7.0", "aiohttp>=3.7.4,<4", "async_timeout"]
with open("README.md", "r") as fh:
long_description = fh.read()
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION = {}
with open(os.path.join(HERE, NAME, "__version__.py")) as f:
exec(f.read(), VERSION) # pylint: disable=exec-used
setup(
name=NAME,
version=VERSION["__version__"],
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
license="Apache-2.0",
long_description=long_description,
long_description_content_type="text/markdown",
url=URL,
packages=find_packages(exclude=("tests*",)),
classifiers=[
"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",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=REQUIRES,
)