From ea4d20de16e4b9f510da23b65f99a84d3eebbd34 Mon Sep 17 00:00:00 2001 From: automationator Date: Mon, 20 Aug 2018 14:42:39 -0400 Subject: [PATCH] Changes package name to match the unique PyPI name --- README.md | 2 +- setup.py | 6 +++--- urlfinderlib/__init__.py | 2 ++ urltools/urltools.py => urlfinderlib/urlfinderlib.py | 0 urltools/__init__.py | 2 -- 5 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 urlfinderlib/__init__.py rename urltools/urltools.py => urlfinderlib/urlfinderlib.py (100%) delete mode 100644 urltools/__init__.py diff --git a/README.md b/README.md index 09d8e83..e6f48e7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# urltools +# urlfinderlib Python library for finding URLs in documents and arbitrary data and checking their validity. diff --git a/setup.py b/setup.py index 7a0c655..6ea2349 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ long_description=long_description, # The project's main homepage. - url='https://github.com/IntegralDefense/urltools', + url='https://github.com/IntegralDefense/urlfinderlib', # Author details author='Matthew Wilson', @@ -62,11 +62,11 @@ ], # What does your project relate to? - keywords='urltools', + keywords='urlfinderlib', # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). - packages=['urltools'], + packages=['urlfinderlib'], # Alternatively, if you want to distribute just a my_module.py, uncomment # this: diff --git a/urlfinderlib/__init__.py b/urlfinderlib/__init__.py new file mode 100644 index 0000000..01a0b8d --- /dev/null +++ b/urlfinderlib/__init__.py @@ -0,0 +1,2 @@ +from .urlfinderlib import find_urls +from .urlfinderlib import is_valid diff --git a/urltools/urltools.py b/urlfinderlib/urlfinderlib.py similarity index 100% rename from urltools/urltools.py rename to urlfinderlib/urlfinderlib.py diff --git a/urltools/__init__.py b/urltools/__init__.py deleted file mode 100644 index 7277797..0000000 --- a/urltools/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from .urltools import find_urls -from .urltools import is_valid