[MERGE] (#183391) improve PyPI integration by adding project metadata to setup.py
Martin Pool
mbp at sourcefrog.net
Fri Jan 18 02:25:48 GMT 2008
On 18/01/2008, John Arbash Meinel <john at arbash-meinel.com> wrote:
> John Arbash Meinel has voted approve.
> Status is now: Approved
> Comment:
> I'm not sure why we would keep:
> +version_string = '%d.%d.%d.%s.%d' % version_info
>
> Otherwise BB:approve.
>
> (I think Alexander wanted to parse the output of 'bzr --version' in an
> easy and straightforward way, but it has been a while.)
Hi Alexander,
I remember you said something previously about it being easier to
parse the bzr version number if it was eg 1.1.0.final.0. I want to
change the format to make it slightly better integrate with the python
pypi/distutils standards, so wanted to check this would not be a
problem for you.
Are you parsing it from inside python, or in a separate program? If
it's inside Python, you can more easily look at bzrlib.version_info,
which is already a tuple.
--
Martin
More information about the bazaar
mailing list