Mercurial > bitten > bitten-test
changeset 78:001f77d05cdc
Include {{{templates}}} and {{{htdocs}}} dir in dist/install.
author | cmlenz |
---|---|
date | Wed, 06 Jul 2005 13:17:13 +0000 |
parents | 8c7303f0b3d6 |
children | 87098cbcdc90 |
files | MANIFEST.in setup.py |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include htdocs/*.* +include templates/*.cs \ No newline at end of file
--- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ from distutils.core import setup from distutils import util +from glob import glob from bitten import __version__ as VERSION from bitten.util.testrunner import unittest @@ -31,5 +32,7 @@ setup(name='bitten', version=VERSION, packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'], + data_files=[('share/bitten/htdocs', glob('htdocs/*.*')), + ('share/bitten/templates', glob('templates/*.cs'))], scripts=scripts, author="Christopher Lenz", author_email="cmlenz@gmx.de", url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest})