diff --git a/src/__init__.py b/entityshape/__init__.py similarity index 100% rename from src/__init__.py rename to entityshape/__init__.py diff --git a/src/app.py b/entityshape/app.py similarity index 96% rename from src/app.py rename to entityshape/app.py index 4edebad..455fae3 100644 --- a/src/app.py +++ b/entityshape/app.py @@ -9,10 +9,10 @@ from flask_cors import CORS from requests import Response -from src.comparejsonld import CompareJSONLD -from src.compareshape import CompareShape -from src.shape import Shape -from src.getjsonld import JSONLDShape +from entityshape.comparejsonld import CompareJSONLD +from entityshape.compareshape import CompareShape +from entityshape.shape import Shape +from entityshape.getjsonld import JSONLDShape app = Flask(__name__) CORS(app) diff --git a/src/comparejsonld.py b/entityshape/comparejsonld.py similarity index 98% rename from src/comparejsonld.py rename to entityshape/comparejsonld.py index 6df9a9c..3b5866c 100644 --- a/src/comparejsonld.py +++ b/entityshape/comparejsonld.py @@ -7,8 +7,8 @@ import requests from requests import Response -from src.compareproperties import CompareProperties -from src.comparestatements import CompareStatements +from entityshape.compareproperties import CompareProperties +from entityshape.comparestatements import CompareStatements class CompareJSONLD: diff --git a/src/compareproperties.py b/entityshape/compareproperties.py similarity index 99% rename from src/compareproperties.py rename to entityshape/compareproperties.py index 287baeb..577e6af 100644 --- a/src/compareproperties.py +++ b/entityshape/compareproperties.py @@ -1,4 +1,4 @@ -from src.utilities import Utilities +from entityshape.utilities import Utilities class CompareProperties: diff --git a/src/compareshape.py b/entityshape/compareshape.py similarity index 100% rename from src/compareshape.py rename to entityshape/compareshape.py diff --git a/src/comparestatements.py b/entityshape/comparestatements.py similarity index 98% rename from src/comparestatements.py rename to entityshape/comparestatements.py index 46eb425..64f903b 100644 --- a/src/comparestatements.py +++ b/entityshape/comparestatements.py @@ -1,6 +1,6 @@ from typing import Tuple, Any -from src.utilities import Utilities +from entityshape.utilities import Utilities class CompareStatements: diff --git a/src/getjsonld.py b/entityshape/getjsonld.py similarity index 100% rename from src/getjsonld.py rename to entityshape/getjsonld.py diff --git a/src/shape.py b/entityshape/shape.py similarity index 100% rename from src/shape.py rename to entityshape/shape.py diff --git a/src/utilities.py b/entityshape/utilities.py similarity index 100% rename from src/utilities.py rename to entityshape/utilities.py diff --git a/tests/test_compare_properties.py b/tests/test_compare_properties.py index 54f055d..e530191 100644 --- a/tests/test_compare_properties.py +++ b/tests/test_compare_properties.py @@ -1,6 +1,6 @@ import unittest -from src.comparejsonld import CompareProperties +from entityshape.comparejsonld import CompareProperties class TestCompareProperties(unittest.TestCase): diff --git a/tests/test_compare_statements.py b/tests/test_compare_statements.py index d37cb74..b34f24c 100644 --- a/tests/test_compare_statements.py +++ b/tests/test_compare_statements.py @@ -1,6 +1,6 @@ import unittest -from src.comparejsonld import CompareStatements +from entityshape.comparejsonld import CompareStatements class TestCompareStatements(unittest.TestCase): diff --git a/tests/test_compare_v1_v2.py b/tests/test_compare_v1_v2.py index 1369b99..b59b676 100644 --- a/tests/test_compare_v1_v2.py +++ b/tests/test_compare_v1_v2.py @@ -5,7 +5,7 @@ import requests -from src.app import app +from entityshape.app import app class CompareV1V2(unittest.TestCase): diff --git a/tests/test_jsonld.py b/tests/test_jsonld.py index 175569a..e3845c9 100644 --- a/tests/test_jsonld.py +++ b/tests/test_jsonld.py @@ -3,10 +3,10 @@ """ import unittest -from src.comparejsonld import CompareJSONLD -from src.compareshape import CompareShape -from src.shape import Shape -from src.getjsonld import JSONLDShape +from entityshape.comparejsonld import CompareJSONLD +from entityshape.compareshape import CompareShape +from entityshape.shape import Shape +from entityshape.getjsonld import JSONLDShape class JSONLDCase(unittest.TestCase): diff --git a/tests/test_schemas.py b/tests/test_schemas.py index c6b5702..83475d6 100644 --- a/tests/test_schemas.py +++ b/tests/test_schemas.py @@ -6,7 +6,7 @@ import requests -from src.app import app +from entityshape.app import app class MyTestCase(unittest.TestCase): diff --git a/tests/test_utilities.py b/tests/test_utilities.py index 0225a9c..9c08fbf 100644 --- a/tests/test_utilities.py +++ b/tests/test_utilities.py @@ -1,6 +1,6 @@ import unittest -from src.utilities import Utilities +from entityshape.utilities import Utilities class UtilitiesTests(unittest.TestCase): diff --git a/tests/test_v1.py b/tests/test_v1.py index 4bfc202..a5ef126 100644 --- a/tests/test_v1.py +++ b/tests/test_v1.py @@ -5,7 +5,7 @@ import requests -from src.app import app +from entityshape.app import app class V1Tests(unittest.TestCase):