setup.py 1.65 KB
Newer Older
1
2
#!/usr/bin/env python3

Nicolas Garcia Ospina's avatar
Nicolas Garcia Ospina committed
3
# Copyright (c) 2021:
4
#   Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
Nicolas Garcia Ospina's avatar
Nicolas Garcia Ospina committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.


20
21
22
from setuptools import setup, find_packages

tests_require = ["pytest"]
Nicolas Garcia Ospina's avatar
Nicolas Garcia Ospina committed
23
linters_require = ["black>=20.8b1", "pylint", "flake8"]
24
25
26
27
28
29

setup(
    name="obmgapanalysis",
    version="0.0.1",
    description="Gap analysis for OpenBuildingMap",
    keywords="OpenBuildingMap, buildings, analysis",
Nicolas Garcia Ospina's avatar
Nicolas Garcia Ospina committed
30
    license="AGPLv3+",
31
    author="Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ",
32
    install_requires=[
33
        "numpy",
34
35
36
37
38
39
        "pyproj==3.0.0.post1",
        "shapely",
        "babelgrid",
        "fiona",
        "rtree",
        "geopandas",
40
        "rasterio",
41
        "psycopg2-binary",
42
43
        "SQLAlchemy",
        "GeoAlchemy2",
44
        "pyyaml",
45
    ],
Nicolas Garcia Ospina's avatar
Nicolas Garcia Ospina committed
46
47
48
49
    extras_require={
        "tests": tests_require,
        "linters": linters_require,
    },
50
51
52
53
    packages=find_packages(),
    entry_points={"console_scripts": ["obmgapanalysis = obmgapanalysis.obmgapanalysis:main"]},
    python_requires=">=3.7",
)