Skip to content

Commit 8b0c229

Browse files
author
t2y
committed
merged from original
2 parents 7f55596 + ef86905 commit 8b0c229

File tree

11 files changed

+112
-301
lines changed

11 files changed

+112
-301
lines changed

.hgtags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ f71ffbb996c41606aea15b2114120d9fca3adfc6 2.5.2
6666
dc74f106d8d2dd58031b2dbac31b1e068f780de4 2.5.3
6767
b0f27c65fa64627599c2a022a076ae5ee7157ae4 2.6
6868
445a58d5a05a1426cefb47e54b692b6a58fdcc4f 2.6.1
69+
625d85d3136ff746accc490c5f9210b1b0074533 2.6.2
70+
e7582879df06689ec54cd820c377e89114b75ee2 2.6.3

ChangeLog

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
2011-02-26 Doug Hellmann <[email protected]>
2+
3+
* docs/sphinx/conf.py: Just hard-code the version.
4+
5+
* setup.py: Just hard-code the version.
6+
7+
* virtualenvwrapper/version.py: Put the version info inside the
8+
package so it is available to the doc build and packaging
9+
script. This also makes the readthedocs.org build work properly.
10+
11+
* setup.py: Import the version information from the package.
12+
13+
* docs/sphinx/conf.py: Import the version information from the
14+
package.
15+
16+
* Makefile: Remove rule to get the version from the installer for
17+
the doc build.
18+
19+
2011-01-24 Doug Hellmann <[email protected]>
20+
21+
* virtualenvwrapper.sh: Replace hard-coded name "virtualenv" with
22+
the variable VIRTUALENVWRAPPER_VIRTUALENV to allow tests (and
23+
users) to override it.
24+
25+
* tests/test_mkvirtualenv.sh (test_virtualenv_fails): Add a test
26+
to reproduce the conditions reported in issue #76.
27+
128
2010-12-27 Doug Hellmann <[email protected]>
229

330
* virtualenvwrapper.sh (virtualenvwrapper_get_python_version):

Makefile

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
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
52
help:
63
@echo "sdist - Source distribution"
74
@echo "html - HTML documentation"
85
@echo "docclean - Remove documentation build files"
9-
@echo "register - register a new release on PyPI"
10-
@echo "website - build web version of docs"
11-
@echo "installwebsite - deploy web version of docs"
6+
@echo "upload - upload a new release to PyPI"
127
@echo "develop - install development version"
138
@echo "test - run the test suite"
149
@echo "test-quick - run the test suite for bash and one version of Python ($(PYTHON26))"
15-
10+
@echo "website - generate web version of the docs"
11+
@echo "installwebsite - copy web version of HTML docs up to server"
1612

1713
.PHONY: sdist
1814
sdist: html
@@ -37,9 +33,9 @@ docclean:
3733
website:
3834
[ ~/Devel/doughellmann/doughellmann/templates/base.html -nt docs/sphinx/web/templates/base.html ] && (echo "Updating base.html" ; cp ~/Devel/doughellmann/doughellmann/templates/base.html docs/sphinx/web/templates/base.html) || exit 0
3935
rm -rf docs/website
40-
(cd docs && $(MAKE) html BUILDING_WEB=1 BUILDDIR="website/en" LANGUAGE="en")
41-
(cd docs && $(MAKE) html BUILDING_WEB=1 BUILDDIR="website/es" LANGUAGE="es")
42-
(cd docs && $(MAKE) html BUILDING_WEB=1 BUILDDIR="website/ja" LANGUAGE="ja")
36+
(cd docs && $(MAKE) html BUILDDIR="website/en" LANGUAGE="en")
37+
(cd docs && $(MAKE) html BUILDDIR="website/es" LANGUAGE="es")
38+
(cd docs && $(MAKE) html BUILDDIR="website/ja" LANGUAGE="ja")
4339

4440
installwebsite: website
4541
(cd docs/website/en && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper/)
@@ -49,8 +45,14 @@ installwebsite: website
4945
# Register the new version on pypi
5046
.PHONY: register
5147
register:
48+
echo "USE upload target"
49+
exit 1
5250
python setup.py register
5351

52+
.PHONY: upload
53+
upload:
54+
python setup.py sdist upload
55+
5456
# Testing
5557
test:
5658
tox

docs/en/history.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22
Release History
33
===============
44

5-
Dev
5+
2.6.3
66

7+
- Hard-code the version information in the setup.py and conf.py
8+
scripts so it works for http://readthedocs.org.
9+
10+
2.6.2
11+
12+
- Attempted to make the doc build work with http://readthedocs.org.
713
- Merged in `Japanese translation of the documentation
814
<http://www.doughellmann.com/docs/virtualenvwrapper/ja/>`__ from
915
Tetsuya Morimoto.
16+
- Incorporate a suggestion from Ales Zoulek to let the user specify
17+
the virtualenv binary through an environment variable
18+
(``VIRTUALENVWRAPPER_VIRTUALENV``).
1019

1120
2.6.1
1221

docs/sphinx/conf.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
bitbucket_project_url = 'http://bitbucket.org/dhellmann/virtualenvwrapper/'
3030

3131
# Add any paths that contain templates here, relative to this directory.
32-
if building_web:
33-
templates_path = ['web/templates']
34-
else:
35-
templates_path = ['pkg/templates']
32+
#templates_path = ['pkg/templates']
3633

3734
# The suffix of source filenames.
3835
source_suffix = '.rst'
@@ -45,14 +42,14 @@
4542

4643
# General information about the project.
4744
project = u'virtualenvwrapper'
48-
copyright = u'2009, Doug Hellmann'
45+
copyright = u'2009-2011, Doug Hellmann'
4946

5047
# The version info for the project you're documenting, acts as replacement for
5148
# |version| and |release|, also used in various other places throughout the
5249
# built documents.
5350
#
5451
# The short X.Y version.
55-
version = os.environ['VERSION']
52+
version = '2.6.3'
5653
# The full version, including alpha/beta/rc tags.
5754
release = version
5855

@@ -98,10 +95,7 @@
9895

9996
# The theme to use for HTML and HTML Help pages. Major themes that come with
10097
# Sphinx are currently 'default' and 'sphinxdoc'.
101-
if building_web:
102-
html_theme = 'default'
103-
else:
104-
html_theme = 'sphinxdoc'
98+
html_theme = 'nature'
10599

106100
# Theme options are theme-specific and customize the look and feel of a theme
107101
# further. For a list of options available for each theme, see the

docs/sphinx/web/templates/base.html

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)