diff --git a/oshipka.py b/oshipka.py index 2813b42..7b92f26 100644 --- a/oshipka.py +++ b/oshipka.py @@ -1,5 +1,5 @@ -from src.persistance import init_db -from src.webapp import app +from oshipka.persistance import init_db +from oshipka.webapp import app if __name__ == "__main__": init_db(app) diff --git a/src/persistance/__init__.py b/src/oshipka/__init__.py similarity index 100% rename from src/persistance/__init__.py rename to src/oshipka/__init__.py diff --git a/src/oshipka/persistance/__init__.py b/src/oshipka/persistance/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/persistance/models.py b/src/oshipka/persistance/models.py similarity index 100% rename from src/persistance/models.py rename to src/oshipka/persistance/models.py diff --git a/src/persistance/populate.py b/src/oshipka/persistance/populate.py similarity index 92% rename from src/persistance/populate.py rename to src/oshipka/persistance/populate.py index 51f85c0..dd8ce58 100644 --- a/src/persistance/populate.py +++ b/src/oshipka/persistance/populate.py @@ -1,7 +1,7 @@ import os from config import SQLALCHEMY_DATABASE_URI, MAKEDIRS, DATABASE_FILE -from src.persistance.models import db +from oshipka.persistance.models import db def populate_db(app): diff --git a/src/webapp/__init__.py b/src/oshipka/webapp/__init__.py similarity index 100% rename from src/webapp/__init__.py rename to src/oshipka/webapp/__init__.py