Commit c9a75c7b authored by Nicolas Garcia Ospina's avatar Nicolas Garcia Ospina
Browse files

Added very basic project structure

parent 4febfc68
*.pyc
*.log
*.pkl
*.egg-info
Pipfile
Pipfile.lock
__pycache__
.cache
build
dist
env
.idea
#!/usr/bin/env python3
#!/usr/bin/env python3
import logging
import sys
# Add a logger printing error, warning, info and debug messages to the screen
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
logger.addHandler(logging.StreamHandler(sys.stdout))
def main():
# Example logging output
logger.info("quadtreegrid has started")
# Leave the program
sys.exit()
if __name__ == "__main__":
main()
#!/usr/bin/env python3
from setuptools import setup, find_packages
tests_require = ["pytest"]
setup(
name="quadtreegrid",
version="0.0.1",
description="Quadtree grid creation for OpenBuildingMap",
keywords="OpenBuildingMap, quadtree, grid",
author="Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ",
install_requires=["numpy"],
tests_require=tests_require,
packages=find_packages(),
entry_points={"console_scripts": ["quadtreegrid = quadtreegrid.quadtreegrid:main"]},
python_requires=">=3.7",
)
#!/usr/bin/env python3
#!/usr/bin/env python3
import logging
logger = logging.getLogger()
def test_func():
pass
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment