-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (36 loc) · 1.47 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
46
47
48
#!/usr/bin/env python
"""A setuptools based model for setting up python wrapper for VisualCrossing API"""
from os import makedirs
from os.path import isdir
from setuptools import setup
from setuptools import find_packages
from VisualCrossing import __homepath__
with open("README.md", "r") as fh:
long_description = fh.read()
if not isdir(__homepath__):
# create directory for first time installation
# else, check additional configuration for the model
# TODO setup additional details file for module configuration
makedirs(__homepath__)
setup(
name = "VisualCrossing",
version = open("VERSION", "r").read(),
author = "Debmalya Pramanik",
author_email = "[email protected]",
description = "A python wrapper for fetching weather data from VisualCrossing",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/ZenithClown/VisualCrossing",
packages = find_packages(),
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License"
],
project_urls = {
"Bug Tracker" : "https://github.com/ZenithClown/VisualCrossing/issues"
},
python_requires = ">=3.7",
install_requires = ["requests"],
keywords = "weather-api, weather-forecast, visual-crossing, api-rest, wrapper"
)