Skip to content

Commit

Permalink
bumped version for fixed setup.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
elic committed Apr 5, 2016
1 parent 4d70dcd commit f9c4461
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,7 @@

here = os.path.abspath(os.path.dirname(__file__))

version = '0.3.0'

news = os.path.join(os.path.dirname(__file__), 'docs', 'news.rst')
news = open(news).read()
parts = re.split(r'([0-9\.]+)\s*\n\r?-+\n\r?', news)
found_news = ''
for i in range(len(parts)-1):
if parts[i] == version:
found_news = parts[i+i]
break
if not found_news:
warnings.warn('No news for this version found.')
version = '0.3.1'

long_description = """
The rpctools package provides client libraries for working with RPC services
Expand All @@ -39,11 +28,6 @@

pkg_name = 'rpctools'

if found_news:
title = 'Changes in %s' % version
long_description += "\n%s\n%s\n" % (title, '-'*len(title))
long_description += found_news

setup(
name=pkg_name,
version=version,
Expand Down

0 comments on commit f9c4461

Please sign in to comment.