Skip to content
Snippets Groups Projects
Commit 4127adf5 authored by sarsonl's avatar sarsonl
Browse files

add dependencies and remove postgis

parent 1e38c21e
Branches main
No related tags found
No related merge requests found
......@@ -39,7 +39,10 @@ _install_requires = [
'python-dateutil>=2.8.0',
"ramsis.datamodel",
"SQLAlchemy>=1.2.10",
"webargs==5.4.0", ]
"webargs==5.4.0",
"PyYAML",
"pandas",
"SeismoStats", ]
_extras_require = {
'doc': [
......
......@@ -55,8 +55,6 @@ class DBInitApp(App):
exit_code = ExitCode.EXIT_SUCCESS
try:
engine = create_engine(self.args.db_url)
with engine.connect() as conn:
conn.execute(text('create extension if not exists postgis;'))
if self.args.force:
self.logger.debug(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment