diff --git a/README.md b/README.md index 30fb0e739dbe9965c9b08fe558bcaf5220f34138..5f79086b5b5e9476ada9dd779d4b94336a7dd6f2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -Betty Python Library -==================== +Database Library +================ -This is an example for project for a Python library. +Database library for handling Spatialite and PostGIS databases. Copyright and copyleft ---------------------- diff --git a/bettylibrary/__init__.py b/bettylibrary/__init__.py deleted file mode 100644 index 20a56ee53bc816235dce835ab53a28392060ffa8..0000000000000000000000000000000000000000 --- a/bettylibrary/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python3 - -# Copyright (C) 2022: -# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ -# -# 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/. - -from .something import Something - - -__all__ = ["Something"] diff --git a/bettylibrary/something.py b/bettylibrary/something.py deleted file mode 100644 index 50b6074e16a94c73c1ef96e2eaf0335b2d4eb857..0000000000000000000000000000000000000000 --- a/bettylibrary/something.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 - -# Copyright (C) 2022: -# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ -# -# 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/. - -import logging - -logger = logging.getLogger() - - -class Something: - def __init__(self): - logger.debug("something") diff --git a/setup.py b/setup.py index 1db8fe14e6998ee149ffae821f201b04920528df..8ac7c8a0be4aff55e9d40f490cc2857238090767 100644 --- a/setup.py +++ b/setup.py @@ -22,10 +22,13 @@ tests_require = ["pytest"] linters_require = ["black>=20.8b1", "pylint", "flake8"] setup( - name="bettylibrary", + name="databaselib", version="0.1", - description="Smart description", + description="Database library for handling Spatialite and PostGIS databases", license="AGPLv3+", + install_requires=[ + "psycopg2", + ], extras_require={ "tests": tests_require, "linters": linters_require,