diff --git a/dist/gzint-0.0.1-py3-none-any.whl b/dist/gzint-0.0.1-py3-none-any.whl index 3087f6b..5da46cc 100644 Binary files a/dist/gzint-0.0.1-py3-none-any.whl and b/dist/gzint-0.0.1-py3-none-any.whl differ diff --git a/dist/gzint-0.0.1.tar.gz b/dist/gzint-0.0.1.tar.gz index 24bd7d6..60fdc45 100644 Binary files a/dist/gzint-0.0.1.tar.gz and b/dist/gzint-0.0.1.tar.gz differ diff --git a/dist/gzint-0.0.2-py2.7.egg b/dist/gzint-0.0.2-py2.7.egg new file mode 100644 index 0000000..54f5ac7 Binary files /dev/null and b/dist/gzint-0.0.2-py2.7.egg differ diff --git a/dist/gzint-0.0.2-py3-none-any.whl b/dist/gzint-0.0.2-py3-none-any.whl new file mode 100644 index 0000000..cc51b09 Binary files /dev/null and b/dist/gzint-0.0.2-py3-none-any.whl differ diff --git a/dist/gzint-0.0.2-py3.5.egg b/dist/gzint-0.0.2-py3.5.egg new file mode 100644 index 0000000..444f7f0 Binary files /dev/null and b/dist/gzint-0.0.2-py3.5.egg differ diff --git a/dist/gzint-0.0.2.tar.gz b/dist/gzint-0.0.2.tar.gz new file mode 100644 index 0000000..9324e1f Binary files /dev/null and b/dist/gzint-0.0.2.tar.gz differ diff --git a/gzint.egg-info/PKG-INFO b/gzint.egg-info/PKG-INFO index 081c003..4d56ec5 100644 --- a/gzint.egg-info/PKG-INFO +++ b/gzint.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: gzint -Version: 0.0.1 +Version: 0.0.2 Summary: A library for storing huge integeters efficiently. Home-page: https://github.com/pirate/gzint Author: Nick Sweeting diff --git a/setup.py b/setup.py index 5d495ba..f73c545 100644 --- a/setup.py +++ b/setup.py @@ -6,17 +6,19 @@ here = path.abspath(path.dirname(__file__)) # parse description from README.md -with open(path.join(here, 'README.md'), encoding='utf-8') as f: - try: +try: + with open(path.join(here, 'README.md'), encoding='utf-8') as f: readme_header = f.read().split('\n', 2) short_description = readme_header[0].split(': ')[-1] + '.' long_description = readme_header[2].split('\n', 2)[2].split('\n\n')[0].replace('\n', ' ').replace('`', '') - except Exception: - raise ValueError('Failed to parse gzint description from README.md') +except Exception: + print('[!] Failed to parse gzint description from README.md') + short_description = 'A library for storing huge integeters efficiently' + long_description = 'This python library helps store massive integers by using a gzipped-string representation in memory.' setup( name='gzint', - version='0.0.1', + version='0.0.2', description=short_description, # parsed from first line of README.md long_description=long_description, # parsed from first section of README.md