-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
76 lines (72 loc) · 2.36 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
"""
Python AEMET Library
See:
https://packaging.python.org/en/latest/distributing.html
"""
from setuptools import setup, find_packages
from os import path, environ
here = path.abspath(path.dirname(__file__))
description = 'Cliente de la API de datos de AEMET'
# Get the long description from the README file
with open(path.join(here, 'README.rst')) as f:
long_description = f.read()
with open(path.join(here, 'requirements.txt')) as f:
requirements = f.read().splitlines()
setup(
name='python-aemet',
version='0.4.1',
description=description,
long_description=long_description,
url='https://github.com/pablo-moreno/python-aemet',
author='Pablo Moreno',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='aemet weather api spain opendata',
include_package_data=True,
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=[requirements],
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
entry_points={
'console_scripts': [
'aemet=aemet:main',
],
},
data_files=[(
'aemet/data', [
'aemet/data/cod_ccaa.json',
'aemet/data/cod_ccaa.csv',
'aemet/data/cod_costas.json',
'aemet/data/cod_costas.csv',
'aemet/data/cods_idema.json',
'aemet/data/municipios.json',
'aemet/data/municipios.csv',
'aemet/data/estaciones_contaminacion.json',
'aemet/data/estaciones_contaminacion.csv',
]
)],
package_data={
'aemet/data': [
'aemet/data/cod_ccaa.json',
'aemet/data/cod_ccaa.csv',
'aemet/data/cod_costas.json',
'aemet/data/cod_costas.csv',
'aemet/data/cods_idema.json',
'aemet/data/municipios.json',
'aemet/data/municipios.csv',
'aemet/data/estaciones_contaminacion.json',
'aemet/data/estaciones_contaminacion.csv',
]
}
)