Commit 038c91d2 authored by Graeme Weatherill's avatar Graeme Weatherill
Browse files

Merge branch 'initial_setup' into 'main'

Initial commit of code and docs

See merge request !1
parents e8eddb6d cf7a0267
# 1. Custom git-ignored stuff
# ===========================
# PyCharm
.idea
# 2. Default git-ignored stuff (from Github templates)
# ====================================================
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# Vim
*.swp
# OSX
.DS_Store
This diff is collapsed.
This diff is collapsed.
from exposure2site.exposure_to_site_tools import SiteManager
from exposure2site.node_handler import Node, nrml_read, nrml_write
__all__ = [
"SiteManager",
"Node",
"nrml_read",
"nrml_write",
]
This diff is collapsed.
This diff is collapsed.
#!/usr/bin/python3
from setuptools import setup, find_packages
setup(
name="exposure2site",
version="1.0",
description="Tool for building and calibrating OpenQuake site files from exposure models",
license="GPLv3",
extras_require = {"OQ": ['openquake.engine',]},
install_requires= [
'h5py >=2.10, <2.11',
'numpy >=1.18, <1.20',
'scipy >=1.3, <1.7',
'pandas >=0.25, <1.3',
'shapely >=1.7, <1.8',
'pyproj >=1.9',
'matplotlib',
'geopandas',
'ipython'],
packages=find_packages(),
python_requires=">=3.6",
)
Supports Markdown
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