#!/usr/bin/env python # # DrPython installation script # Copyright (c) 2004 Radoslaw Stachowiak # Last modification: 2004-10-12 # ####################################### # # Version 0.9.2: Classifiers and post installation added by Christoph. # # Version 0.9.1: The full modified version by Christoph. # (Plus minor comment changes by Dan). # # (Daniel Pozmanter, 0.9.0: Added Christoph's Patch. # # (Daniel Pozmanter: 0.8.1: Modified version number.) # ####################################### # """\ DrPython - a highly customizable cross-platform Python IDE DrPython is a highly customizable, cross-platform, extensible editor and environment for developing programs written in the Python programming language. It is implemented in wxPython (a set of Python bindings and extra widgets for wxWidgets) and uses its Scintilla based editor component. You can get the latest Python version from http://www.python.org. You can get the latest wxPython version from http://www.wxpython.org.""" # version (should be imported from drpython.py or __init__.py) MY_VER='3.10.13' # package name, do not change MY_NAME = 'drpython' AUTHOR = 'Daniel Pozmanter' AUTHOR_EMAIL = 'drpython@bluebottle.com' URL = 'http://drpython.sourceforge.net' # Trove classification (get list with python setup.py register --list-classifiers) classifiers = """ Development Status :: 5 - Production/Stable Environment :: MacOS X Environment :: Win32 (MS Windows) Environment :: X11 Applications :: GTK Intended Audience :: Developers Intended Audience :: Education Intended Audience :: Information Technology Intended Audience :: Other Audience Intended Audience :: Science/Research Intended Audience :: System Administrators OSI Approved :: GNU General Public License (GPL) Natural Language :: English Operating System :: MacOS :: MacOS X Operating System :: Microsoft :: Windows Operating System :: POSIX :: Linux Programming Language :: Python Topic :: Documentation Topic :: Software Development Topic :: Text Editors Topic :: Text Editors :: Integrated Development Environments (IDE) """ # take name and description from setup.py docstring description = __doc__.split('\n\n', 1) name=description[0].split(' ', 1)[0] # please add every package data file to be installed to the list DATA = [ 'documentation/*', 'examples/DrScript/*', 'bitmaps/*.ico', 'bitmaps/*.png', 'bitmaps/16/*.png', 'bitmaps/24/*.png', # adding runner scripts, TODO: drpython startup should be probably redone 'drpython.pyw', 'drpython.lin' ] from distutils.core import setup # and now standard distutils installation routine setup(name=name, version=MY_VER, description=description[0], long_description=description[1], classifiers = filter(None, classifiers.split('\n')), author=AUTHOR, author_email=AUTHOR_EMAIL, url=URL, platforms = "any", license = 'GPL', packages=[ MY_NAME ], package_dir={ MY_NAME : '.' }, package_data={ MY_NAME : DATA } )