summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-17 22:58:11 +0100
committerGeorg Brandl <georg@python.org>2010-11-17 22:58:11 +0100
commiteba5ae5c679422bea0f38ebcf467929400820a37 (patch)
tree065571fc1d4cd2a1b445d189585499d70742515f /sphinx/setup_command.py
parentc90e103aa9d81a997eebcafd76c7ffa682db9653 (diff)
downloadsphinx-eba5ae5c679422bea0f38ebcf467929400820a37.tar.gz
Do not require build dir to exist.
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 939fbb21..92940820 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -110,7 +110,6 @@ class BuildDoc(Command):
build = self.get_finalized_command('build')
self.build_dir = os.path.join(build.build_base, 'sphinx')
self.mkpath(self.build_dir)
- self.ensure_dirname('build_dir')
self.doctree_dir = os.path.join(self.build_dir, 'doctrees')
self.mkpath(self.doctree_dir)
self.builder_target_dir = os.path.join(self.build_dir, self.builder)