diff --git a/src/coloured_logger/__init__.py b/coloured_logger/__init__.py similarity index 100% rename from src/coloured_logger/__init__.py rename to coloured_logger/__init__.py diff --git a/src/coloured_logger/logger.py b/coloured_logger/logger.py similarity index 100% rename from src/coloured_logger/logger.py rename to coloured_logger/logger.py diff --git a/src/coloured_logger/logger_config.py b/coloured_logger/logger_config.py similarity index 100% rename from src/coloured_logger/logger_config.py rename to coloured_logger/logger_config.py diff --git a/src/__init__.py b/coloured_logger/utils/__init__.py similarity index 100% rename from src/__init__.py rename to coloured_logger/utils/__init__.py diff --git a/src/coloured_logger/utils/clear_handlers.py b/coloured_logger/utils/clear_handlers.py similarity index 100% rename from src/coloured_logger/utils/clear_handlers.py rename to coloured_logger/utils/clear_handlers.py diff --git a/setup.py b/setup.py index 44759af..015d877 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,7 @@ """ Setup file for the package.""" #!/usr/bin/env python3 import os -from src import coloured_logger -from src.coloured_logger import ( +from coloured_logger import ( __version__, __description__, __author__, @@ -33,7 +32,7 @@ def read(fname): long_description_content_type="text/markdown", keywords="security,scanner", url="https://github.com/oscar-defelice/%s" % pypi_name, - packages=find_packages(where="src"), + packages=find_packages(), package_dir={"": "src"}, include_package_data=True, install_requires=requirements, diff --git a/src/coloured_logger/utils/__init__.py b/src/coloured_logger/utils/__init__.py deleted file mode 100644 index e69de29..0000000