Back to index

plone3  3.1.7
__pkginfo__.py
Go to the documentation of this file.
00001 from Products import MimetypesRegistry as PRODUCT
00002 import os.path
00003 
00004 version=PRODUCT.__version__
00005 modname=PRODUCT.__name__
00006 
00007 # (major, minor, patchlevel, release info) where release info is:
00008 # -99 for alpha, -49 for beta, -19 for rc and 0 for final
00009 # increment the release info number by one e.g. -98 for alpha2
00010 
00011 major, minor, bugfix =  version.split('.')[:3]
00012 bugfix, release = bugfix.split('-')[:2]
00013 
00014 relinfo=-99 #alpha
00015 if 'beta' in release:
00016     relinfo=-49
00017 if 'rc' in release:
00018     relinfo=-19
00019 if 'final' in release:
00020     relinfo=0
00021 
00022 numversion = (int(major), int(minor), int(bugfix), relinfo)
00023 
00024 license = 'BSD like'
00025 license_text = open(os.path.join(PRODUCT.__path__[0], 'LICENSE.txt')).read()
00026 copyright = '''Copyright (c) 2003 LOGILAB S.A. (Paris, FRANCE)'''
00027 
00028 author = "Archetypes developement team"
00029 author_email = "archetypes-devel@lists.sourceforge.net"
00030 
00031 short_desc = "MIME types registry for the CMF"
00032 long_desc = """This package provides a new CMF tools in order to
00033 make MIME types guessings. You will find more info in the package's
00034 README and docs directory.
00035 .
00036 It's part of the Archetypes project, but the only requirement to use it
00037 is to have a CMF based site. If you are using Archetypes, this package
00038 replaces the transform package.
00039 .
00040 Notice this package can also be used as a standalone Python package. If
00041 you've downloaded the Python distribution, you can't make it a Zope
00042 product since Zope files have been removed from this distribution.
00043 """
00044 
00045 web = "http://plone.org/products/archetypes"
00046 ftp = ""
00047 mailing_list = "archetypes-devel@lists.sourceforge.net"
00048 
00049 debian_name = "zope-cmfmtr"
00050 debian_maintainer = "Christian Heimes (?)"
00051 debian_maintainer_email = "tiran@cheimes.de"
00052 debian_handler = "zope"