diff --git a/README.md b/README.md index 5831620..ea4e2c2 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ Smallest library that every project needs! It just... Runs your function in new thread with decorator! ```bash -pip install thread +pip install ezzthread ``` # Use ```python -from thread import threaded +from ezzthread import threaded @threaded def func(): diff --git a/__init__.py b/__init__.py index fb66427..4e58615 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,3 @@ # The smallest library for every python project! -from thread import * +from ezzthread import * diff --git a/thread.py b/ezzthread.py similarity index 100% rename from thread.py rename to ezzthread.py diff --git a/setup.py b/setup.py index 3aced7a..76f364f 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,13 @@ with open("README.md", "r") as fh: long_description = fh.read() setup( - name="thread", + name="ezzthread", version="1.0.0", - scripts=["thread.py"], + scripts=["ezzthread.py"], author="BarsTiger", description="Small decorator library for launching threads", long_description=long_description, - py_modules=["thread"], + py_modules=["ezzthread"], license='MIT', url='https://github.com/BarsTiger/thread', long_description_content_type="text/markdown",