Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make simple installs work. #13

Closed
wants to merge 2 commits into from
Closed

Make simple installs work. #13

wants to merge 2 commits into from

Conversation

mbr
Copy link

@mbr mbr commented Jun 9, 2011

As a test, I tried to clone the lucumr-repository and run-rstblog on it, installed in a virtualenv. I ran into two issues:

  1. Outdated Jinja2 version (no version requirement in setup.py).
  2. Templates not included in build (include_package_data not enabled in setup.py).

Here are two patches to fix these problems. Afterwards, I was able to create a fresh virtualenv, install rstblog to it with pip, then run it on the lucumr-repository.

mbr added 2 commits June 9, 2011 11:39
Ubuntu 10.04 comes with python-jinja2 packages that include version 2.3.
These will not work, as the autoescape feature is not present (you will
get an exception when using Jinja2 2.3). Everything seems to work okay
with 2.4 and greater though.
Installing rstblog at the moment causes it not work, as templates seem
to be "missing". While they listed in MANIFEST.in, include_package_data
is not enabled, causing setup.py to not include them in builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants