Back to index

plone3  3.1.7
__pkginfo__.py
Go to the documentation of this file.
00001 from Products import validation as PRODUCT
00002 
00003 version=PRODUCT.__version__
00004 modname=PRODUCT.__name__
00005 
00006 # (major, minor, patchlevel, release info) where release info is:
00007 # -99 for alpha, -49 for beta, -19 for rc and 0 for final
00008 # increment the release info number by one e.g. -98 for alpha2
00009 
00010 major, minor, bugfix =  version.split('.')[:3]
00011 bugfix, release = bugfix.split('-')[:2]
00012 
00013 relinfo=-99 #alpha
00014 if 'beta' in release:
00015     relinfo=-49
00016 if 'rc' in release:
00017     relinfo=-19
00018 if 'final' in release:
00019     relinfo=0
00020 
00021 numversion = (int(major), int(minor), int(bugfix), relinfo)
00022 
00023 license = 'BSD (ish)'
00024 copyright = '''Benjamin Saller (c) 2003'''
00025 
00026 author = "Archetypes developement team"
00027 author_email = "archetypes-devel@lists.sourceforge.net"
00028 
00029 short_desc = "Some generic validators originaly defined for Archetypes"
00030 long_desc = short_desc
00031 
00032 web = "http://plone.org/products/archetypes"
00033 ftp = ""
00034 mailing_list = "archetypes-devel@lists.sourceforge.net"
00035 
00036 debian_maintainer = "Sylvain Thenault"
00037 debian_maintainer_email = "sylvain.thenault@logilab.fr"
00038 debian_handler = "python-library"