From 678c4509c81c7ff9b68cff5eabcc684ea68c8253 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 5 Jun 2009 22:04:18 -0400 Subject: Updated setup.py to properly include test data. --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'setup.py') 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', -- cgit v1.2.3