Skip to content

Commit eb2d5f5

Browse files
committed
update pavement to use sphinxcontrib.paverutils
1 parent eec8f00 commit eb2d5f5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pavement.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
from paver.easy import *
2020
import paver.setuputils
2121
paver.setuputils.install_distutils_tasks()
22-
import paver.doctools
22+
#import paver.doctools
2323
try:
24-
import docpaver
24+
from sphinxcontrib import paverutils
2525
except:
2626
import warnings
27-
warnings.warn('docpaver was not found, will not be able to produce documentation')
27+
warnings.warn('sphinxcontrib.paverutils was not found, you will not be able to produce documentation')
2828

2929
# What project are we building?
3030
PROJECT = 'virtualenvwrapper'
31-
VERSION = '1.17'
31+
VERSION = '1.17.1'
3232
os.environ['VERSION'] = VERSION
3333

3434
# Read the long description to give to setup
@@ -123,7 +123,7 @@
123123
@task
124124
def html(options):
125125
# Build the docs
126-
docpaver.html(options)
126+
paverutils.html(options)
127127
# Move them into place for packaging
128128
destdir = path(PROJECT) / 'docs'
129129
destdir.rmtree()
@@ -142,7 +142,7 @@ def website(options):
142142
dest.dirname().mkdir()
143143
src.copy(dest)
144144
# Build the docs
145-
docpaver.run_sphinx(options, 'website')
145+
paverutils.run_sphinx(options, 'website')
146146
return
147147

148148
def remake_directories(*dirnames):

0 commit comments

Comments
 (0)