diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..af7edf0 --- /dev/null +++ b/__init__.py @@ -0,0 +1,2 @@ +# This __init__ makes this whole repo a Python module so it can +# easily be embedded into other projects. diff --git a/setup.py b/setup.py index 36cdafb..0ba3439 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,17 @@ # stringlike's setup.py from distutils.core import setup + +from stringlike import __version__ + setup( name = "stringlike", packages = ["stringlike"], - version = "0.2.1", + version = __version__, description = "Classes for mimicking string behavior", author = "Elliot Cameron", author_email = "elliot.cameron@covenanteyes.com", - url = "https://github.com/CovenantEyes/py-stringlike", - download_url = "https://github.com/CovenantEyes/py-stringlike/tarball/v0.2.1", + url = "https://github.com/CovenantEyes/py_stringlike", + download_url = "https://github.com/CovenantEyes/py_stringlike/tarball/v" + __version__, keywords = ["string", "lazy"], classifiers = [ "Programming Language :: Python", @@ -34,7 +37,7 @@ behave exactly like strings but allow strings to be constructed in a thunk (i.e. lazily) instead of strictly (i.e. immediately). -Here's a blog giving an example of how it can be used: +An example of how it can be used: http://developer.covenanteyes.com/stringlike-in-python/ """ ) diff --git a/stringlike/__init__.py b/stringlike/__init__.py index 6ae7391..fec25bb 100644 --- a/stringlike/__init__.py +++ b/stringlike/__init__.py @@ -1,7 +1,7 @@ from core import StringLike -__version__ = '0.2.1' +__version__ = '0.2.2' VERSION = tuple(map(int, __version__.split('.'))) __all__ = ['StringLike']