At 10:21 AM 11/9/2006 +0100, Thomas Heller wrote: >Bob Ippolito schrieb: > > On 11/8/06, Thomas Heller <[EMAIL PROTECTED]> wrote: > >> In the easy_install docs is mentioned (at the end): > >> > >> Added subversion download support for svn: and svn+ URLs, as well as > automatic recognition of HTTP subversion URLs > >> > >> How does this work? Is it possible to install a package from an svn > repository, when the repository resides > >> (read-only) at an http: URL? > > > > It works exactly as you'd expect.. > > > > $ easy_install http://svn.red-bean.com/bob/simplejson/trunk > > [...] > >Cool. I had tried something like > easy_install -i http://svn.red-bean.com/bob/simplejson/trunk >or so, but it didn't work. > >So, does it make sense to register even unreleased packages with pypi, >with the >svn url?
Yes, but don't put it in the Download URL or Homepage; instead, include the URL in the "long description" with a "#egg=whatever-1.0" tacked on the end. See: http://peak.telecommunity.com/DevCenter/setuptools#making-your-package-available-for-easyinstall for more info. Setuptools itself has two #egg links to subversion in its PyPI page, allowing you to install setuptools==dev (the 0.7 trunk) and setuptools==dev06 (the 0.6 branch) as well as the current "release" version. _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
