-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (41 loc) · 1.23 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
from setuptools import find_packages, setup
def read(fname: str):
with open(file=fname, encoding="utf-8") as fp:
content = fp.read()
return content
setup(
name="openweathermappy",
version="0.1.0",
description="A simple wrapper around OpenWeatherMap APIs using Python",
long_description=read("README.md"),
author="Nithin",
author_email="[email protected]",
url="https://github.com/gnknithin/OpenWeatherMap-PyClient",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords=[
"A simple wrapper around OpenWeatherMap APIs using Python",
"openweathermap", "openweathermap api", "openweathermap api client"
],
package_dir={"": "src"},
packages=find_packages(where="src", exclude=["tests"]),
install_requires=[
"requests",
"python-dotenv",
],
python_requires=">=3.7",
extras_require={
"tests": [
"pytest",
"pytest-cov",
"pytest-dotenv"
],
},
test_suite="tests",
)