Commit defb0e8f authored by Andreas Jung's avatar Andreas Jung

removed

parent 052fffcd
from ConfigParser import ConfigParser
CP = ConfigParser()
CP.read(('versions-zope3.cfg', 'versions-zope2.cfg'))
def getVersionForPackage(package):
""" Return the version for a package (used in setup.py) """
return CP.get('versions', package)
if __name__ == '__main__':
for package in ('ZODB3', 'pytz', 'does.not.exisit'):
print package, getVersionForPackage(package)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment