summaryrefslogtreecommitdiff
path: root/setup-tests.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-12-21 16:19:30 -0500
committerWaylan Limberg <waylan@gmail.com>2012-12-21 16:19:30 -0500
commitdc7aedfe825b02bd2cb526c0aba9c421822a37d1 (patch)
tree53b70d78cef1857d86d8d1d2a406e832a2a7ac5f /setup-tests.py
parentd4ce5e1bbc4488747e3387811fa0fd8f5c5ac2e8 (diff)
downloadpython-markdown-tox.tar.gz
tox now installs tests as a module. Still not running sytax tests. Package_data (in setup-tests.py) doesn't recursively search subdirs - need to do so manually.tox
Diffstat (limited to 'setup-tests.py')
-rw-r--r--setup-tests.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/setup-tests.py b/setup-tests.py
new file mode 100644
index 0000000..c5d1acd
--- /dev/null
+++ b/setup-tests.py
@@ -0,0 +1,18 @@
+from distutils.core import setup
+import os
+
+setup_path = os.path.dirname(__file__)
+
+setup(
+ name='tests',
+ version='1.0',
+ description='Python-Markdown testing Framework',
+ author='Waylan Limberg',
+ author_email='waylan@gmail.com',
+ packages=['tests'],
+ package_dir={'tests': os.path.join(setup_path, 'tests')},
+ package_data={'tests': [os.path.join(setup_path, 'tests/*.txt'),
+ os.path.join(setup_path,'tests/*.html'),
+ os.path.join(setup_path, 'tests/*.cfg')]},
+ scripts=[os.path.join(setup_path, 'run-tests.py')],
+) \ No newline at end of file