From 2c1b1491e0cf813514fa05030a6f46478d208724 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 28 Oct 2018 13:14:08 +0100 Subject: [PATCH] Fixed import name errors --- README.md | 2 +- mcuuid/__init__.py | 2 +- setup.py | 2 +- test.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 48450cf..e7a1406 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Getting Minecraft Player Information from Mojang API. ## Usage -1. `pip install mcuuid` OR add the mcuuid.py file to your Python path. +1. `pip install mcuuid` 2. Use the module like this: ``` diff --git a/mcuuid/__init__.py b/mcuuid/__init__.py index 7ac2211..efbc252 100644 --- a/mcuuid/__init__.py +++ b/mcuuid/__init__.py @@ -1,2 +1,2 @@ name = "mcuuid" -from mcuuid import GetPlayerData +from mcuuid.mcuuid import GetPlayerData diff --git a/setup.py b/setup.py index dba7f0a..d44ff89 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="mcuuid", - version="0.1", + version="0.1.1", author="Clemens Riese", author_email="hallo@clerie.de", description="Getting Minecraft Player Information from Mojang API.", 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