diff --git a/README.md b/README.md index 36e73f8..225f22c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# magicimport +# importmagician Voldemort's Python import helper ``` -pip install magicimport +pip install importmagician ``` ## Import from uninstalled Python directories @@ -21,11 +21,11 @@ Say you have a directory (relative path `../../dir_a`) like this: You want `func_a` from `utils.util_a.py`: ``` -from magicimport import import_from +from importmagician import import_from with import_from('../../'): from utils.util_a import func_a func_a() # use func_a ``` -The advantage of **magicimport** is: outside of the `with` statement, your `sys.path` remains unchanged. +The advantage of **importmagician** is: outside of the `with` statement, your `sys.path` remains unchanged. diff --git a/magicimport/__init__.py b/importmagician/__init__.py similarity index 100% rename from magicimport/__init__.py rename to importmagician/__init__.py diff --git a/magicimport/import_from.py b/importmagician/import_from.py similarity index 100% rename from magicimport/import_from.py rename to importmagician/import_from.py diff --git a/setup.py b/setup.py index b1c71d4..1d35989 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,14 @@ long_description = fh.read() setuptools.setup( - name="magicimport", + name="importmagician", version="0.1.0", author="Zhengyang Feng", author_email="zyfeng97@outlook.com", description="Voldemort's Python import helper.", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/voldemortX/magic-import", + url="https://github.com/voldemortX/import_magician", packages=setuptools.find_packages(), classifiers=[ "Programming Language :: Python :: 3",