summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-25 11:48:59 +0000
committerGeorg Brandl <georg@python.org>2010-08-25 11:48:59 +0000
commit0854f642623a096e39977072923d2ebe8e8a49f3 (patch)
tree788040c5224f0242f546d5b84df8ef5ecd7df2e9 /sphinx/setup_command.py
parent1fcacc70b7a1e5e341dd211c1c5fa99c4d91d926 (diff)
downloadsphinx-0854f642623a096e39977072923d2ebe8e8a49f3.tar.gz
Fix demo setup.py.
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 8974b988..939fbb21 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -35,13 +35,13 @@ class BuildDoc(Command):
cmdclass = {'build_sphinx': BuildDoc}
name = 'My project'
- version = 1.2
- release = 1.2.0
+ version = '1.2'
+ release = '1.2.0'
setup(
name=name,
author='Bernard Montgomery',
version=release,
- cmdclass={'build_sphinx': BuildDoc},
+ cmdclass=cmdclass,
# these are optional and override conf.py settings
command_options={
'build_sphinx': {