[Distutils] something like pkg==dev in distutils2?
Tarek Ziadé
ziade.tarek at gmail.com
Mon Nov 29 10:26:37 CET 2010
On Mon, Nov 29, 2010 at 2:59 AM, Aljoša Mohorović
<aljosa.mohorovic at gmail.com> wrote:
> pip enables "pip install mypackage==dev" if link (with
> #egg=mypackage-dev) exists in long_description for pypi.
> are there some plans for an official way to do this?
No plans, but if you want this you could work on a proposal for d2 + PEP 345.
I didn't look at the pip code for this, but if it works like
easy_install, it looks for specific links in the (long_)description of
the package that have an #egg=project-dev fragment. If found, it's
used to download the dev version and install it.
In Distutils2, I would rather have a specific metadata for this,
rather than links to look for in the project description.
I am not sure about the name, an initial thought would be:
Development-Download-URL:
A string containing the URL from which the development version of
the distribution
can be downloaded. (This means that the URL can't be something like
".../BeagleVote-latest.tgz", but instead must be ".../BeagleVote-0.45.tgz".)
Note: the development version must be a source distribution.
Regards
Tarek
>
> Aljosa Mohorovic
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
--
Tarek Ziadé | http://ziade.org
More information about the Distutils-SIG
mailing list