Mercurial > bitten > bitten-test
view setup.py @ 103:f1baf05a49dd
* Strip extra line separators from recipe command output on windows. Closes #25.
* Fix logging in the `build.py` script, and provide command-line options to configure the logging
author | cmlenz |
---|---|
date | Wed, 20 Jul 2005 13:23:05 +0000 |
parents | efc1eed69ba8 |
children | 4bee62474361 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: iso8859-1 -*- # # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # # Bitten is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Trac is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Author: Christopher Lenz <cmlenz@gmx.de> import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools ez_setup.use_setuptools() from setuptools import setup, find_packages from distutils import util from glob import glob from bitten import __version__ as VERSION from bitten.util.testrunner import unittest scripts = ['scripts/bitten', 'scripts/bittend'] if util.get_platform()[:3] == 'win': scripts = [script + '.bat' for script in scripts] setup(name='bitten', version=VERSION, author="Christopher Lenz", author_email="cmlenz@gmx.de", url="http://bitten.cmlenz.net/", packages=find_packages(exclude=["*.tests*"]), package_data={'bitten.trac_ext': ['templates/*.cs', 'htdocs/*.*']}, scripts=scripts, test_suite='bitten.tests.suite', zip_safe=True, cmdclass={'unittest': unittest})