-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
43 lines (40 loc) · 1.44 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 setuptools
import os
import re
import sys
with open("README.md", "r") as fh:
long_description = fh.read()
def read(*parts):
"""Read file."""
filename = os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts)
sys.stdout.write(filename)
with open(filename, encoding="utf-8", mode="rt") as fp:
return fp.read()
setuptools.setup(
name="geocachingapi",
author="Rudolf Offereins",
author_email="[email protected]",
description="Python client for controlling the Geocaching API",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Sholofly/geocachingapi-python",
packages=setuptools.find_packages(include=["geocachingapi"]),
license="MIT license",
install_requires=["aiohttp>=3.7.4,<4", "backoff>=1.9.0", "yarl", "reverse_geocode==1.6.5"],
keywords=["geocaching", "api"],
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires='>=3.8',
zip_safe=False,
include_package_data=True,
use_scm_version=True,
setup_requires=['setuptools_scm']
)