diff --git a/build/lib/src/LogAndReg.py b/build/lib/PythonLoginAndRegister/LogAndReg.py similarity index 100% rename from build/lib/src/LogAndReg.py rename to build/lib/PythonLoginAndRegister/LogAndReg.py diff --git a/build/lib/PythonLoginAndRegister/__init__.py b/build/lib/PythonLoginAndRegister/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index e29b88b..94e9df4 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,23 @@ -from setuptools import setup +import sys +from setuptools import find_packages, setup +from pathlib import Path +CURRENT_DIR = Path(__file__).parent +sys.path.insert(0, str(CURRENT_DIR)) +def get_long_description() -> str: + return ( + (CURRENT_DIR / "README.md").read_text(encoding="utf8") + ) setup(name='PythonLoginAndRegister', version='0.1', description='Basic Login and Registration in Python', - long_description=long_desc, + long_description=get_long_description(), url='https://github.com/coolhobo77/Python-Login-And-Register', author='coolhobo77', author_email='joshuaboddy1@gmail.com', license='MIT', - packages=['src'], + packages=['PythonLoginAndRegister'], + package_dir={"PythonLoginAndRegister": "src"}, zip_safe=False) diff --git a/src/LogAndReg.py b/src/PythonLoginAndRegister/LogAndReg.py similarity index 100% rename from src/LogAndReg.py rename to src/PythonLoginAndRegister/LogAndReg.py diff --git a/src/PythonLoginAndRegister/__init__.py b/src/PythonLoginAndRegister/__init__.py new file mode 100644 index 0000000..e69de29