Packaging information

Sep 28, 2010 at 2:34 PM
Edited Sep 28, 2010 at 2:35 PM

I've created a simple package file set, you're welcome to use it.  It presumes that the xmlpp.py source file is in a subdirectory named 'src'.

* setup.py

 

#!/usr/bin/env python

from distutils.core import setup

setup(
    name='python-xmlpp',
    version='0.92b',
    description='XML Prettyprinting',
    author='Fredrik Ekholdt',
    author_email='ekhfre on codeplex.com',
    url='http://xmlpp.codeplex.com',
    license='Custom',
    long_description="""
A lightweight, non-validating module that does an XML pretty print using python.
Works/does a best effort on html and malformed/invalid xml.
    """,
    platforms=['all'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
    
    py_modules=['xmlpp'],
    package_dir={'':'src'},
)

 

* PKG-INFO

 

Metadata-Version: 1.1
Name: xmlpp
Version: 0.92b
Summary: Simple XML prettyprinting
Home-page: http://xmlpp.codeplex.com
Author: Fredrik Ekholdt
Author-email: ekhfre on codeplex.com
License: Custom
Description:
A lightweight, non-validating module that does an XML pretty print using python.
Works/does a best effort on html and malformed/invalid xml.
Platform: all
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: Freely Distributable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content