Packaged module for PyPI
This commit is contained in:
1
mcuuid/__init__.py
Normal file
1
mcuuid/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
name = "mcuuid"
|
22
setup.py
Normal file
22
setup.py
Normal 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",
|
||||||
|
],
|
||||||
|
)
|
2
test.py
2
test.py
@ -1,5 +1,5 @@
|
|||||||
### Import our module
|
### Import our module
|
||||||
from mcuuid import GetPlayerData
|
from mcuuid.mcuuid import GetPlayerData
|
||||||
|
|
||||||
### Import some other necessary modules
|
### Import some other necessary modules
|
||||||
import sys
|
import sys
|
||||||
|
Reference in New Issue
Block a user