comparison 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
comparison
equal deleted inserted replaced
98:1d9dc07acd3d 99:efc1eed69ba8
17 # along with this program; if not, write to the Free Software 17 # along with this program; if not, write to the Free Software
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 import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools
23 ez_setup.use_setuptools()
24
25
26 from setuptools import setup, find_packages
23 from distutils import util 27 from distutils import util
24 from glob import glob 28 from glob import glob
25 29
26 from bitten import __version__ as VERSION 30 from bitten import __version__ as VERSION
27 from bitten.util.testrunner import unittest 31 from bitten.util.testrunner import unittest
28 32
29 scripts = ['scripts/bitten', 'scripts/bittend'] 33 scripts = ['scripts/bitten', 'scripts/bittend']
30 if util.get_platform()[:3] == 'win': 34 if util.get_platform()[:3] == 'win':
31 scripts = [script + '.bat' for script in scripts] 35 scripts = [script + '.bat' for script in scripts]
32 36
33 setup(name='bitten', version=VERSION, 37 setup(name='bitten', version=VERSION, author="Christopher Lenz",
34 packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'], 38 author_email="cmlenz@gmx.de", url="http://bitten.cmlenz.net/",
35 data_files=[('share/bitten/htdocs', glob('htdocs/*.*')), 39 packages=find_packages(exclude=["*.tests*"]),
36 ('share/bitten/templates', glob('templates/*.cs'))], 40 package_data={'bitten.trac_ext': ['templates/*.cs', 'htdocs/*.*']},
37 scripts=scripts, author="Christopher Lenz", author_email="cmlenz@gmx.de", 41 scripts=scripts, test_suite='bitten.tests.suite', zip_safe=True,
38 url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest}) 42 cmdclass={'unittest': unittest})
Copyright (C) 2012-2017 Edgewall Software