28 Jan 20:16
PloneSoftwareCenter/PyPI/distutils/eggs
From: Sidnei da Silva <sidnei@...>
Subject: PloneSoftwareCenter/PyPI/distutils/eggs
Newsgroups: gmane.comp.web.zope.plone.devel
Date: 2006-01-28 19:18:56 GMT
Subject: PloneSoftwareCenter/PyPI/distutils/eggs
Newsgroups: gmane.comp.web.zope.plone.devel
Date: 2006-01-28 19:18:56 GMT
Hello fellas, I've implemented part of the PyPI API, specifically the 'register' command from standard distutils and the 'file_upload' command, introduced by 'setuptools'. My goal with this is to be able to register new releases of products from the command line, using a standard distutils setup.py file. As a side-effect, if we start using 'setuptools' we get a step closer from building proper 'eggs'. Which happen to be supported in Zope 2 already by using the 'Basket' product. I think we might need to make some minor extensions to distutils to more easily handle 'products'. Or maybe not. I've added some TODO items to the bottom of: http://svn.plone.org/svn/collective/PloneSoftwareCenter/branches/pypi-api-support/TODO.txt Specifically, I think we need to reuse the Trove categorization instead of 'rolling our own'. That's one of the things that is missing right now as it would need some thought about migration of existing PSC instances. I've added a sample setup.py file to the Marshall product: http://svn.plone.org/svn/archetypes/Marshall/trunk/setup.py I have successfully registered and uploaded a package using that setup.py file to a local PSC instance with the steps described on TODO.txt. Unfortunately, I'm going out on vacation this week, back on Feb 6, so if anyone wants to check it out and give some thought, I would be happy to discuss and helping implementing new features when I get back. heading-to-beach-ly-your's, -- -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
RSS Feed