diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/mcuuid/__init__.py b/mcuuid/__init__.py new file mode 100644 index 0000000..0b19565 --- /dev/null +++ b/mcuuid/__init__.py @@ -0,0 +1 @@ +name = "mcuuid" diff --git a/mcuuid.py b/mcuuid/mcuuid.py similarity index 100% rename from mcuuid.py rename to mcuuid/mcuuid.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..13323fe --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="mcuuid", + version="0.0.1", + author="Clemens Riese", + author_email="hallo@clerie.de", + description="Getting Minecraft Player Information from Mojang API.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/clerie/mcuuid", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 2" + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], +) diff --git a/test.py b/test.py index a307b50..092053b 100644 --- a/test.py +++ b/test.py @@ -1,5 +1,5 @@ ### Import our module -from mcuuid import GetPlayerData +from mcuuid.mcuuid import GetPlayerData ### Import some other necessary modules import sys