forked from github/pelican
Nose and unittest2 have been removed from pelican's dependencies, and webassets moved to pelican-plugins.
57 lines
1.2 KiB
INI
57 lines
1.2 KiB
INI
# This tests the unified codebase (py26-py32) of Pelican.
|
|
# depends on some external libraries that aren't released yet.
|
|
#
|
|
# To run Pelican, you will already have checked out and installed them.
|
|
#
|
|
# Now we must tell tox about this package, otherwise tox would load the old
|
|
# libraries from PyPi.
|
|
#
|
|
# Run tox from the libraries source tree. It will save its package in
|
|
# the distshare directory from where the tests here will pick it up.
|
|
#
|
|
# Do that for
|
|
# https://github.com/dmdm/smartypants.git
|
|
#
|
|
# and typogrify:
|
|
# https://github.com/dmdm/typogrify/tree/py3k
|
|
#
|
|
# CAVEAT:
|
|
# -------
|
|
#
|
|
# Please be aware that my port of typogrify is just 2to3'd.
|
|
# It is not backwards compatible with Python 2.
|
|
|
|
|
|
[tox]
|
|
envlist = py27,py32,py33
|
|
|
|
[testenv]
|
|
commands =
|
|
python -m unittest discover
|
|
deps =
|
|
|
|
[testenv:py27]
|
|
deps =
|
|
mock
|
|
Markdown
|
|
BeautifulSoup4
|
|
feedgenerator
|
|
typogrify
|
|
|
|
[testenv:py32]
|
|
deps =
|
|
mock
|
|
Markdown
|
|
BeautifulSoup4
|
|
feedgenerator
|
|
# {distshare}/smartypants-1.6.0.3.zip
|
|
# {distshare}/typogrify-2.0.0.zip
|
|
|
|
[testenv:py33]
|
|
deps =
|
|
mock
|
|
Markdown
|
|
BeautifulSoup4
|
|
feedgenerator
|
|
# {distshare}/smartypants-1.6.0.3.zip
|
|
# {distshare}/typogrify-2.0.0.zip
|