This repository was archived by the owner on Jun 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
73 lines (65 loc) · 2.29 KB
/
setup.py
File metadata and controls
73 lines (65 loc) · 2.29 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
69
70
71
72
73
import pathlib
import re
from setuptools import setup
ROOT = pathlib.Path(__file__).parent
with open(str(ROOT / "README.md"), encoding="utf-8") as f:
LONG_DESC = f.read()
with open(str(ROOT / "requirements.txt"), encoding="utf-8") as f:
REQS = f.read().splitlines()
with open(str(ROOT / "async_pokepy" / "__init__.py"), encoding="utf-8") as f:
VERSION = re.search(r"^__version__\s*=\s*['\"]([^'\"]*)['\"]", f.read(), re.MULTILINE).group(1)
if not VERSION:
raise RuntimeError("Version is not set.")
EXTRA_REQS = {
"lru": [
"lru-dict"
],
"docs": [
"sphinx==1.7.4",
"sphinxcontrib-asyncio",
],
"tests": [
"flake8",
"pylint",
"pytest",
"pytest-cov",
"isort"
]
}
setup(author="Lorenzo",
name="async_pokepy",
version=VERSION,
description="A simple asynchronous wrapper for the PokeAPI.co API.",
long_description=LONG_DESC,
long_description_content_type="text/markdown",
keywords="async pokemon asyncio rest api",
url="https://github.com/PendragonLore/async_pokepy",
download_url="https://github.com/PendragonLore/async_pokepy/archive/{0}.tar.gz".format(VERSION),
project_urls={
"Issue Tracker": "https://github.com/PendragonLore/async_pokepy/issues",
"Documentation": "https://async-pokepy.rtfd.io",
},
python_requires=">=3.5.3",
platforms=["macOS", "POSIX", "Windows"],
install_requires=REQS,
include_package_data=True,
license="MIT",
extras_require=EXTRA_REQS,
packages=["async_pokepy", "async_pokepy.types"],
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Intended Audience :: Developers",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Framework :: AsyncIO",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
],
)