diff --git a/setup.py b/setup.py index f586c45..ce5fd99 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import setup, find_packages with open('README.md') as f: long_description = f.read() @@ -6,7 +6,8 @@ setup( name="json-api-smart", version="0.0.5", - packages=["src"], + packages=find_packages(where="src"), + package_dir={"": "src"}, url="https://github.com/NilssonPL/json-api-smart", license="MIT", author="Nilsson", diff --git a/src/__init__.py b/src/json_api_smart/__init__.py similarity index 100% rename from src/__init__.py rename to src/json_api_smart/__init__.py diff --git a/src/attribute.py b/src/json_api_smart/attribute.py similarity index 100% rename from src/attribute.py rename to src/json_api_smart/attribute.py diff --git a/src/json_api_call_context.py b/src/json_api_smart/json_api_call_context.py similarity index 100% rename from src/json_api_call_context.py rename to src/json_api_smart/json_api_call_context.py diff --git a/src/json_api_request.py b/src/json_api_smart/json_api_request.py similarity index 100% rename from src/json_api_request.py rename to src/json_api_smart/json_api_request.py diff --git a/src/json_api_resource.py b/src/json_api_smart/json_api_resource.py similarity index 100% rename from src/json_api_resource.py rename to src/json_api_smart/json_api_resource.py diff --git a/src/json_api_resource_base.py b/src/json_api_smart/json_api_resource_base.py similarity index 100% rename from src/json_api_resource_base.py rename to src/json_api_smart/json_api_resource_base.py diff --git a/src/json_api_resource_builder.py b/src/json_api_smart/json_api_resource_builder.py similarity index 100% rename from src/json_api_resource_builder.py rename to src/json_api_smart/json_api_resource_builder.py diff --git a/src/json_api_url.py b/src/json_api_smart/json_api_url.py similarity index 100% rename from src/json_api_url.py rename to src/json_api_smart/json_api_url.py diff --git a/src/relationship.py b/src/json_api_smart/relationship.py similarity index 100% rename from src/relationship.py rename to src/json_api_smart/relationship.py diff --git a/src/resource_id.py b/src/json_api_smart/resource_id.py similarity index 100% rename from src/resource_id.py rename to src/json_api_smart/resource_id.py diff --git a/src/type_utils.py b/src/json_api_smart/type_utils.py similarity index 100% rename from src/type_utils.py rename to src/json_api_smart/type_utils.py diff --git a/src/types.py b/src/json_api_smart/types.py similarity index 100% rename from src/types.py rename to src/json_api_smart/types.py