Improved package handling

This commit is contained in:
clerie 2018-10-28 12:41:27 +01:00
parent 613cac3687
commit 2720991a12
4 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Getting Minecraft Player Information from Mojang API.
## Usage
1. Add the mcuuid.py file to your Python path.
1. `pip install mcuuid` OR add the mcuuid.py file to your Python path.
2. Use the module like this:
```

View File

@ -1 +1,2 @@
name = "mcuuid"
from mcuuid import GetPlayerData

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="mcuuid",
version="0.0.1",
version="0.1",
author="Clemens Riese",
author_email="hallo@clerie.de",
description="Getting Minecraft Player Information from Mojang API.",

View File

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