aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2009-06-05 22:04:18 -0400
committerWaylan Limberg <waylan@gmail.com>2009-06-05 22:25:54 -0400
commit678c4509c81c7ff9b68cff5eabcc684ea68c8253 (patch)
treed7b0a3bf0b3aae0edc8f5917c976b0ba163c6fb6
parentfbf7b1f7c67122c7370284e14cd7e8d6c39d6940 (diff)
downloadmarkdown-678c4509c81c7ff9b68cff5eabcc684ea68c8253.tar.gz
markdown-678c4509c81c7ff9b68cff5eabcc684ea68c8253.tar.bz2
markdown-678c4509c81c7ff9b68cff5eabcc684ea68c8253.zip
Updated setup.py to properly include test data.
-rw-r--r--setup.cfg2
-rwxr-xr-xsetup.py6
2 files changed, 6 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..fed1737
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[nosetests]
+with-doctest=1
diff --git a/setup.py b/setup.py
index 3407d79..cbfcaae 100755
--- a/setup.py
+++ b/setup.py
@@ -27,15 +27,17 @@ setup(
name = 'Markdown',
version = version,
url = 'http://www.freewisdom.org/projects/python-markdown',
- download_url = 'http://pypi.python.org/packages/source/M/Markdown/Markdown-2.0.tar.gz',
+ download_url = 'http://pypi.python.org/packages/source/M/Markdown/Markdown-%s.tar.gz'%version,
description = "Python implementation of Markdown.",
author = "Manfred Stienstra and Yuri takhteyev",
author_email = "yuri [at] freewisdom.org",
maintainer = "Waylan Limberg",
maintainer_email = "waylan [at] gmail.com",
license = "BSD License",
- packages = ['markdown', 'markdown.extensions'],
+ packages = ['markdown', 'markdown.extensions', 'markdown.tests'],
scripts = ['bin/markdown'],
+ package_data = {'': ['tests/*/*.txt', 'tests/*/*.html', 'tests/*/*.cfg',
+ 'tests/*/*/*.txt', 'tests/*/*/*.html', 'tests/*/*/*.cfg']},
cmdclass = {'install_scripts': md_install_scripts},
classifiers = ['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',