Mercurial > bitten > bitten-test
view setup.py @ 99:efc1eed69ba8
Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
author | cmlenz |
---|---|
date | Mon, 18 Jul 2005 17:35:21 +0000 |
parents | 001f77d05cdc |
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})