Revision 19 as of 2009-07-18 16:49:40

Clear message

"""

"""

import os, sys, glob

import distutils from distutils.core import setup from distutils.command.build_scripts import build_scripts

from MoinMoin.version import release, revision

# we need this for distutils from python 2.3 compatibility, python 2.4 has the # 'package_data' keyword to the 'setup' function to install data in packages # see http://wiki.python.org/moin/DistutilsInstallDataScattered from distutils.command.install_data import install_data class smart_install_data(install_data):

def isbad(name):

def isgood(name):

def makeDataFiles(prefix, dir):

def visit((prefix, strip, found), dirname, names):

class build_scripts_create(build_scripts):

class build_scripts_moin(build_scripts_create):

def scriptname(path):

# build list of scripts from their implementation modules moin_scripts = [scriptname(fn) for fn in glob.glob('MoinMoin/script/[!_]*.py')]

setup_args = {

Environment :: No Input/Output (Daemon) Environment :: Web Environment Environment :: Win32 (MS Windows) Intended Audience :: Customer Service Intended Audience :: Developers Intended Audience :: Education Intended Audience :: End Users/Desktop Intended Audience :: Financial and Insurance Industry Intended Audience :: Healthcare Industry Intended Audience :: Information Technology Intended Audience :: Legal Industry Intended Audience :: Manufacturing Intended Audience :: Other Audience Intended Audience :: Religion Intended Audience :: Science/Research Intended Audience :: System Administrators Intended Audience :: Telecommunications Industry License :: OSI Approved :: GNU General Public License (GPL) Natural Language :: Chinese (Simplified) Natural Language :: Chinese (Traditional) Natural Language :: Danish Natural Language :: Dutch Natural Language :: English Natural Language :: French Natural Language :: German Natural Language :: Hebrew Natural Language :: Hungarian Natural Language :: Italian Natural Language :: Javanese Natural Language :: Korean Natural Language :: Norwegian Natural Language :: Russian Natural Language :: Serbian Natural Language :: Spanish Natural Language :: Vietnamese Operating System :: MacOS :: MacOS X Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 95/98/2000 Operating System :: Microsoft :: Windows :: Windows NT/2000 Operating System :: OS Independent Operating System :: POSIX Operating System :: POSIX :: BSD :: FreeBSD Operating System :: POSIX :: Linux Operating System :: Unix Programming Language :: Python Topic :: Communications :: Conferencing Topic :: Internet :: WWW/HTTP :: Dynamic Content Topic :: Office/Business :: Groupware Topic :: Text Processing :: Markup""".splitlines(),

}

if hasattr(distutils.dist.DistributionMetadata, 'get_keywords'):

if hasattr(distutils.dist.DistributionMetadata, 'get_platforms'):

try:

except distutils.errors.DistutilsPlatformError, ex:

POSSIBLE CAUSE

"distutils" often needs developer support installed to work correctly, which is usually located in a separate package called "python%d.%d-dev(el)".

Please contact the system administrator to have it installed. """ % sys.version_info[:2]

Unable to edit the page? See the FrontPage for instructions.