Skip to content

Commit 2e4eafd

Browse files
committed
-
1 parent 1e170e7 commit 2e4eafd

File tree

4 files changed

+15
-20
lines changed

4 files changed

+15
-20
lines changed

README.markdown

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,6 @@ The Python Toolbox is released under the MIT license.
3030
Backward compatibility is currently *not* maintained. If you're using Python Toolbox in your code and you want to upgrade to a newer version of Python Toolbox, you'll need to ensure that all the calls to Python Toolbox aren't failing. (A good test suite will usually do the trick.)
3131

3232

33-
# Roadmap #
34-
35-
## Present ##
36-
37-
Python Toolbox is at version 1.0.0. It's being used in production every day, but backward compatibility isn't guaranteed yet.
38-
39-
## Next tasks ##
40-
41-
Adding more useful tools.
42-
43-
## Future ##
44-
45-
Make a 1.0 release and start maintaining backward compatibility.
46-
4733

4834
# Mailing lists #
4935

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
# built documents.
4646
#
4747
# The short X.Y version.
48-
version = '1.0.0'
48+
version = '1.0.1'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '1.0.0'
50+
release = '1.0.1'
5151

5252
# The language for content autogenerated by Sphinx. Refer to documentation
5353
# for a list of supported languages.

python_toolbox/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import python_toolbox.monkeypatch_copyreg
1616
import python_toolbox.monkeypatch_envelopes
1717

18-
__version_info__ = python_toolbox.version_info.VersionInfo(1, 0, 0)
19-
__version__ = __version_info__.version_text
20-
18+
__version__ = '1.0.1'
19+
__version_info__ = python_toolbox.version_info(
20+
*(map(int, __version__.split('.')))
21+
)

setup.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@
66
'''Setuptools setup file for `python_toolbox`.'''
77

88
import os
9+
import re
910
import setuptools
1011
import sys
1112

13+
def read_file(filename):
14+
with open(filename) as file:
15+
return file.read()
16+
17+
version = re.search("__version__ = '([0-9.]*)'",
18+
read_file('python_toolbox/__init__.py')).group(1)
19+
1220

1321

1422
def get_python_toolbox_packages():
@@ -118,7 +126,7 @@ def get_packages():
118126

119127
setuptools.setup(
120128
name='python_toolbox',
121-
version='1.0.0',
129+
version=version,
122130
test_suite='nose.collector',
123131
install_requires=install_requires,
124132
tests_require=['nose>=1.0.0',

0 commit comments

Comments
 (0)