File tree Expand file tree Collapse file tree 5 files changed +28
-5
lines changed Expand file tree Collapse file tree 5 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 1+ 2011-02-26 Doug Hellmann <
[email protected] >
2+
3+ * virtualenvwrapper/version.py: Put the version info inside the
4+ package so it is available to the doc build and packaging
5+ script. This also makes the readthedocs.org build work properly.
6+
7+ * setup.py: Import the version information from the package.
8+
9+ * docs/sphinx/conf.py: Import the version information from the
10+ package.
11+
12+ * Makefile: Remove rule to get the version from the installer for
13+ the doc build.
14+
1152011-01-24 Doug Hellmann <
[email protected] >
216
317 * virtualenvwrapper.sh: Replace hard-coded name "virtualenv" with
Original file line number Diff line number Diff line change 1- # Get the version of the app. This is used in the doc build.
2- export VERSION =$(shell python setup.py --version)
3-
41# Default target is to show help
52help :
63 @echo " sdist - Source distribution"
Original file line number Diff line number Diff line change 5252# built documents.
5353#
5454# The short X.Y version.
55- version = os .environ ['VERSION' ]
55+ import virtualenvwrapper .version
56+ version = virtualenvwrapper .version .VERSION
5657# The full version, including alpha/beta/rc tags.
5758release = version
5859
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3+ import virtualenvwrapper .version
4+
35PROJECT = 'virtualenvwrapper'
4- VERSION = '2.6.1'
6+ VERSION = virtualenvwrapper . version . VERSION
57
68# Bootstrap installation of Distribute
79import distribute_setup
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ # encoding: utf-8
3+ #
4+ # Copyright (c) 2011 Doug Hellmann. All rights reserved.
5+ #
6+ """Version info for virtualenvwrapper base system.
7+ """
8+
9+ VERSION = '2.6.2'
You can’t perform that action at this time.
0 commit comments