Back to index

plone3  3.1.7
setup.py
Go to the documentation of this file.
00001 """Marshall - Configurable Marshallers for Archetypes
00002 
00003 Marshall enables one to selectively choose which marshaller gets
00004 enabled depending on various aspects of the incoming request.
00005 """
00006 
00007 classifiers = """\
00008 Development Status :: 5 - Production/Stable
00009 Environment :: Web Environment
00010 License :: OSI Approved :: GNU General Public License (GPL)
00011 Operating System :: OS Independent
00012 Programming Language :: Python
00013 Programming Language :: Zope
00014 Topic :: Internet :: WWW/HTTP
00015 Topic :: Internet :: File Transfer Protocol (FTP)
00016 """
00017 
00018 import os
00019 import sys
00020 from setuptools import setup, find_packages
00021 
00022 # We're using the module docstring as the distutils descriptions.
00023 doclines = __doc__.split("\n")
00024 NAME = 'Marshall'
00025 VERSION = open('version.txt').read().strip()
00026 
00027 data = dict(
00028     name=NAME,
00029     version=VERSION,
00030     author="Sidnei da Silva",
00031     author_email="sidnei@enfoldsystems.com",
00032     keywords="web zope application server webdav ftp",
00033     url="http://www.enfoldsystems.com",
00034     download_url="http://enfoldsystems.com/Products/Open/Marshall-%s.tar.gz" % VERSION,
00035     license="Zope Public License",
00036     platforms=["any"],
00037     description=doclines[0],
00038     classifiers=filter(None, classifiers.split("\n")),
00039     long_description="\n".join(doclines[2:]),
00040     zip_safe=False)
00041 
00042 packages = find_packages()
00043 package_dir = {NAME: ''}
00044 for package in packages:
00045     package_dir['%s.%s' % (NAME, package)] = os.sep.join(package.split('.'))
00046 
00047 data['packages'] = package_dir.keys()
00048 data['package_dir'] = package_dir
00049 
00050 setup(**data)