Re: Converting PyPI to feeds

Tim Diels <[email protected]> Thu, 9 Mar 2017 18:52:14 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAMjmSuSt1H=+nsVVAH9GBSTZmSgDQhJ1Exgehr8k7-e2+nM29A@mail.gmail.com>
Dear Thomas, all,

I need input on these problems encountered while converting Python version
specifiers to ZI constraints:

1. in Zero Install, version 1 < 1.0 < 1.0.0. In Python, version 1 == 1.0 ==
1.0.0. E.g. the specifier '==1' would have to be converted to constraint
'1..1.0.0.0...' (infinite zeros). Also, how do 1.0.0 and 1.1 compare in
Zero Install? Should 1 be interpreted as 1.(-1) perhaps?
2. <version after=... not-after=...> will need to be implemented. Or
`version=` should support an & operator for intersection. This is to
support '<=version' for example.

Thanks,
Cheers,
Tim

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford

_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel