cmlenz@4: #!/usr/bin/env python cmlenz@5: # -*- coding: iso8859-1 -*- cmlenz@5: # cmlenz@5: # Copyright (C) 2005 Christopher Lenz cmlenz@5: # cmlenz@5: # Bitten is free software; you can redistribute it and/or cmlenz@5: # modify it under the terms of the GNU General Public License as cmlenz@5: # published by the Free Software Foundation; either version 2 of the cmlenz@5: # License, or (at your option) any later version. cmlenz@5: # cmlenz@5: # Trac is distributed in the hope that it will be useful, cmlenz@5: # but WITHOUT ANY WARRANTY; without even the implied warranty of cmlenz@5: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU cmlenz@5: # General Public License for more details. cmlenz@5: # cmlenz@5: # You should have received a copy of the GNU General Public License cmlenz@5: # along with this program; if not, write to the Free Software cmlenz@5: # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. cmlenz@5: # cmlenz@5: # Author: Christopher Lenz cmlenz@4: cmlenz@6: from distutils.core import setup cmlenz@68: from distutils import util cmlenz@6: cmlenz@19: from bitten import __version__ as VERSION cmlenz@22: from bitten.util.testrunner import unittest cmlenz@0: cmlenz@68: scripts = ['scripts/bitten', 'scripts/bittend'] cmlenz@68: if util.get_platform()[:3] == 'win': cmlenz@68: scripts = [script + '.bat' for script in scripts] cmlenz@68: cmlenz@19: setup(name='bitten', version=VERSION, cmlenz@44: packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'], cmlenz@68: scripts=scripts, author="Christopher Lenz", author_email="cmlenz@gmx.de", cmlenz@7: url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest})