comparison setup.py @ 68:234600bf0d49

Fixes for Windows compatibility: * implementation of {{{bitten.util.cmdline}}} for windows, based on temporary files * the recipe tools now close the files they opened so that they can be properly deleted after the build completed * Wrapper batch files for client and server
author cmlenz
date Thu, 30 Jun 2005 12:28:54 +0000
parents ab569c55c835
children 001f77d05cdc
comparison
equal deleted inserted replaced
67:6ffa99b442bf 68:234600bf0d49
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 # 19 #
20 # Author: Christopher Lenz <cmlenz@gmx.de> 20 # Author: Christopher Lenz <cmlenz@gmx.de>
21 21
22 from distutils.core import setup 22 from distutils.core import setup
23 from distutils import util
23 24
24 from bitten import __version__ as VERSION 25 from bitten import __version__ as VERSION
25 from bitten.util.testrunner import unittest 26 from bitten.util.testrunner import unittest
26 27
28 scripts = ['scripts/bitten', 'scripts/bittend']
29 if util.get_platform()[:3] == 'win':
30 scripts = [script + '.bat' for script in scripts]
31
27 setup(name='bitten', version=VERSION, 32 setup(name='bitten', version=VERSION,
28 packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'], 33 packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'],
29 scripts=['scripts/bitten', 'scripts/bittend'], 34 scripts=scripts, author="Christopher Lenz", author_email="cmlenz@gmx.de",
30 author="Christopher Lenz", author_email="cmlenz@gmx.de",
31 url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest}) 35 url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest})
Copyright (C) 2012-2017 Edgewall Software