On Oct 29, 2013, at 4:35 AM, Cédric Krier <[email protected]> wrote:

> I'm thinking about how we could publish on PyPI (or a custom Tryton
> index) development packages. After the doc, it seems there is a "==dev"
> keyword for that but I did not find how to register such «version» nor
> how to make it fetch the source from the mercurial repository.
> So I'm wondering if anyone has such knowledge?

AFAIK you have to publish (upload) the dev packages also to PyPI. 

The dev packages are identified by the trailing dev [1] and pre releases
by alpha, beta or candidate [2] releases as specified by PEP440.

Since pip version 1.4.1 `pip install package` installs the most recent
final release [3] while the `--pre` flag [4] will install the pre release 
versions including the development ones. 

However, if installing from a repository is the requirement, pip supports
that too [5]. 

I don’t think the Tryton versioning model (odd and even) is compliant
with PEP440 (and hence PEP426).

[1] http://www.python.org/dev/peps/pep-0440/#developmental-releases
[2] http://www.python.org/dev/peps/pep-0440/#pre-releases
[3] http://www.python.org/dev/peps/pep-0440/#final-releases
[4] http://www.pip-installer.org/en/latest/usage.html#install-pre
[5] http://www.pip-installer.org/en/latest/logic.html#vcs-support


Thanks & Regards

Sharoon Thomas
Openlabs Technologies & Consulting (P) Limited

w: http://www.openlabs.co.in
m: +1 813.793.6736 (OPEN) Extn. 200
t: @sharoonthomas 

- We win when our customers win

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to