forked from JozefTkocz/python-weatherapi-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (19 loc) · 688 Bytes
/
setup.py
File metadata and controls
26 lines (19 loc) · 688 Bytes
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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def read_requirements(requirements_file):
with open(requirements_file) as f:
required_packages = f.read().splitlines()
return required_packages
setup(
name="weatherapi",
python_requires=">=3.8,<4.0",
version="0.0.1",
author="Jozef Tkocz",
author_email="jozeftkocz@gmail.com",
description=("Python wrapper for the weather API provided by https://www.weatherapi.com/"),
packages=find_packages(),
install_requires=read_requirements('requirements.txt'),
long_description=read('README.md')
)