Permalink
Browse files

Changes so rstblog runs on Windows

  • Loading branch information...
1 parent 5894617 commit 6a109a5a9dcc6393f710c84e72659b161978a4ea @cgrinds cgrinds committed Jul 27, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 MANIFEST.in
  2. +2 −2 rstblog/builder.py
  3. +1 −1 setup.py
View
@@ -1,2 +1,2 @@
include MANIFEST.in Makefile README LICENSE
-recursive-include rstblog/templates/ *
+recursive-include rstblog/templates *
View
@@ -78,8 +78,8 @@ def slug(self):
directory, filename = os.path.split(self.source_filename)
basename, ext = os.path.splitext(filename)
if basename == 'index':
- return posixpath.join(directory, basename).rstrip('/')
- return posixpath.join(directory, basename)
+ return posixpath.join(directory, basename).rstrip('/').replace('\\', '/')
+ return posixpath.join(directory, basename).replace('\\', '/')
def make_destination_folder(self):
folder = self.destination_folder
View
@@ -11,5 +11,5 @@
entry_points = {
'console_scripts': ['run-rstblog = rstblog.cli:main'],
},
- install_requires=['PyYAML', 'Babel', 'blinker', 'Jinja2', 'Werkzeug']
+ install_requires=['PyYAML', 'Babel', 'blinker', 'docutils', 'Jinja2', 'Werkzeug']
)

0 comments on commit 6a109a5

Please sign in to comment.