/
setup.py
50 lines (45 loc) · 1.78 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
"""Setup script for tormetron"""
import os.path
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, "README.md")) as fid:
README = fid.read()
setup(
name="tormetron",
version="0.0.dev3",
description="Download, save and process rainfall radar images from AEMET",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/jlbmdm/tormetron",
author="Bengoa",
author_email="tratratron@gmail.com",
license="MIT",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"License :: OSI Approved :: MIT License",
"Natural Language :: Spanish",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: GIS",
],
packages=["tormetron"],
include_package_data=True,
install_requires=[
"requests", "numpy", "gdal", "click"
],
entry_points={"console_scripts": ["tormetron=tormetron.__main__:main"]},
)
#Para classifiers, ver https://pypi.org/pypi?%3Aaction=list_classifiers
#Aviso: para incluir la carpeta radardata y otros ficheros uso el MANIFEST.in en lugar de la linea:
# package_data={'': ['README.md', 'LICENSE', 'tormetron/radardata']},
#Aunque mantengo la linea:
# include_package_data=True,
#Ver:
# https://stackoverflow.com/questions/1612733/including-non-python-files-with-setup-py
# https://stackoverflow.com/questions/1471994/what-is-setup-py