Packaged module for PyPI

This commit is contained in:
clerie 2018-10-28 12:26:00 +01:00
parent 0963e78b4b
commit 0fdfb53d00
5 changed files with 24 additions and 1 deletions

1
mcuuid/__init__.py Normal file
View File

@ -0,0 +1 @@
name = "mcuuid"

22
setup.py Normal file
View File

@ -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",
],
)

View File

@ -1,5 +1,5 @@
### Import our module
from mcuuid import GetPlayerData
from mcuuid.mcuuid import GetPlayerData
### Import some other necessary modules
import sys