comparison setup.py @ 3032:42f5d0cebcce maint-0.8

merge from HEAD
author Richard Jones <richard@users.sourceforge.net>
date Mon, 03 Jan 2005 03:17:48 +0000
parents 6fe75dcb0b34
children dd7171804290
comparison
equal deleted inserted replaced
3030:d9cc29eee7c5 3032:42f5d0cebcce
14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
18 # 18 #
19 # $Id: setup.py,v 1.77 2004-12-08 01:24:41 richard Exp $ 19 # $Id: setup.py,v 1.77.2.1 2005-01-03 03:17:48 richard Exp $
20 20
21 from distutils.core import setup, Extension 21 from distutils.core import setup, Extension
22 from distutils.util import get_platform 22 from distutils.util import get_platform
23 from distutils.command.build_scripts import build_scripts 23 from distutils.command.build_scripts import build_scripts
24 from distutils.command.build import build 24 from distutils.command.build import build
307 installdatafiles.append((os.path.dirname(_mo_file), 307 installdatafiles.append((os.path.dirname(_mo_file),
308 [os.path.join("build", _mo_file)])) 308 [os.path.join("build", _mo_file)]))
309 309
310 # perform the setup action 310 # perform the setup action
311 from roundup import __version__ 311 from roundup import __version__
312 setup( 312 setup_args = {
313 name = "roundup", 313 'name': "roundup",
314 version = __version__, 314 'version': __version__,
315 description = "A simple-to-use and -install issue-tracking system" 315 'description': "A simple-to-use and -install issue-tracking system"
316 " with command-line, web and e-mail interfaces. Highly" 316 " with command-line, web and e-mail interfaces. Highly"
317 " customisable.", 317 " customisable.",
318 long_description = 318 'long_description':
319 '''Roundup is a simple-to-use and -install issue-tracking system with 319 '''Roundup is a simple-to-use and -install issue-tracking system with
320 command-line, web and e-mail interfaces. It is based on the winning design 320 command-line, web and e-mail interfaces. It is based on the winning design
321 from Ka-Ping Yee in the Software Carpentry "Track" design competition. 321 from Ka-Ping Yee in the Software Carpentry "Track" design competition.
322 322
323 If you're upgrading from an older version of Roundup you *must* follow 323 If you're upgrading from an older version of Roundup you *must* follow
337 - registration may be concluded by replying to the confirmation email 337 - registration may be concluded by replying to the confirmation email
338 - HTML templating permission checks are greatly simplified 338 - HTML templating permission checks are greatly simplified
339 - database exports now include full journals 339 - database exports now include full journals
340 - IMAP support in the mail gateway 340 - IMAP support in the mail gateway
341 ''', 341 ''',
342 author = "Richard Jones", 342 'author': "Richard Jones",
343 author_email = "richard@users.sourceforge.net", 343 'author_email': "richard@users.sourceforge.net",
344 url = 'http://roundup.sourceforge.net/', 344 'url': 'http://roundup.sourceforge.net/',
345 download_url = 'http://sourceforge.net/project/showfiles.php?group_id=31577', 345 'download_url': 'http://sourceforge.net/project/showfiles.php?group_id=31577',
346 packages = packagelist, 346 'packages': packagelist,
347 py_modules = py_modules, 347 'classifiers': [
348 classifiers = [
349 'Development Status :: 4 - Beta', 348 'Development Status :: 4 - Beta',
350 'Environment :: Console', 349 'Environment :: Console',
351 'Environment :: Web Environment', 350 'Environment :: Web Environment',
352 'Intended Audience :: End Users/Desktop', 351 'Intended Audience :: End Users/Desktop',
353 'Intended Audience :: Developers', 352 'Intended Audience :: Developers',
361 'Topic :: Office/Business', 360 'Topic :: Office/Business',
362 'Topic :: Software Development :: Bug Tracking', 361 'Topic :: Software Development :: Bug Tracking',
363 ], 362 ],
364 363
365 # Override certain command classes with our own ones 364 # Override certain command classes with our own ones
366 cmdclass = { 365 'cmdclass': {
367 'build_scripts': build_scripts_roundup, 366 'build_scripts': build_scripts_roundup,
368 'build_py': build_py_roundup, 367 'build_py': build_py_roundup,
369 'build': build_roundup, 368 'build': build_roundup,
370 }, 369 },
371 scripts = roundup_scripts, 370 'scripts': roundup_scripts,
372 371
373 data_files = installdatafiles 372 'data_files': installdatafiles
374 ) 373 }
374 if sys.version_info[:2] > (2, 2):
375 setup_args['py_modules'] = py_modules
376
377 setup(**setup_args)
375 378
376 if __name__ == '__main__': 379 if __name__ == '__main__':
377 main() 380 main()
378 381
379 # vim: set filetype=python sts=4 sw=4 et si : 382 # vim: set filetype=python sts=4 sw=4 et si :

Roundup Issue Tracker: http://roundup-tracker.org/