Mercurial > jpath
changeset 28:0a216b982fd1 default tip
Bump version to 1.6
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Mon, 22 Jan 2018 15:45:20 +0100 |
| parents | a607cb7f6333 |
| children | |
| files | jpath.py setup.py |
| diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jpath.py Mon Jan 22 11:31:52 2018 +0100 +++ b/jpath.py Mon Jan 22 15:45:20 2018 +0100 @@ -55,7 +55,7 @@ import operator __all__ = ['get', 'get_all'] -__version__ = '1.5' +__version__ = '1.6' # Make it work both in python 2.x and 3.x @@ -252,6 +252,7 @@ for value in token.parse(tokens, item): yield value + @Tokenizer.token class WildcardToken(Token): """*[*].*, may return multiple results""" @@ -431,6 +432,7 @@ return get_all(jpath, data)[0] + if __name__ == "__main__": # Run tests when started. import doctest
--- a/setup.py Mon Jan 22 11:31:52 2018 +0100 +++ b/setup.py Mon Jan 22 15:45:20 2018 +0100 @@ -13,10 +13,10 @@ long_description=jpath.__doc__, author='Radomir Dopieralski', author_email='jpath@sheep.art.pl', - url = 'http://www.stxnext.pl/open-source/jpath', download_url = 'https://bitbucket.org/thesheep/jpath/get/tip.tar.gz', classifiers = [ 'Development Status :: 6 - Mature', + 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Intended Audience :: Developers', 'License :: OSI Approved :: Python Software Foundation License',
