-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
47 lines (42 loc) · 1.62 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
#!/usr/bin/env python3
"""Setup module for airqdata."""
import os
from setuptools import find_packages, setup
from airqdata import __version__ as version
# Get short and long descriptions from readme file
here = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(here, "README.md")
line = ""
with open(readme_file, "r") as file:
long_description = file.read()
title, short_description, rest = long_description.split(2 * os.linesep,
maxsplit=2)
short_description = " ".join(short_description.split())
setup(name="airqdata",
version=version,
description=short_description,
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dr-1/airqdata",
author="Dominik Rubo",
license="GNU GPLv3",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Information Analysis",
],
keywords=("air quality pollution sensor data analysis particulate "
"matter pm influencair irceline luftdaten"),
packages=find_packages(),
install_requires=[
"matplotlib>=2",
"pandas>=0.22",
"requests>=2.10",
],
python_requires=">=3.5",
)