[Numpy-discussion] Developmental version numbering with git

Charles R Harris charlesr.harris@gmail....
Thu Nov 11 13:44:39 CST 2010


On Thu, Nov 11, 2010 at 12:32 PM, Matthew Brett <matthew.brett@gmail.com>wrote:

> Hi,
>
> On Tue, Nov 9, 2010 at 7:48 AM, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> >
> >
> > On Tue, Nov 9, 2010 at 8:20 AM, Scott Sinclair <scott.sinclair.za@
> gmail.com>
> > wrote:
> >>
> >> On 8 November 2010 23:17, Matthew Brett <matthew.brett@gmail.com>
> wrote:
> >> >> Since the change to git the numpy version in setup.py is '2.0.0.dev'
> >> >> regardless because the prior numbering was determined by svn.
> >> >>
> >> >> Is there a plan to add some numbering system to numpy developmental
> >> >> version?
> >> >>
> >> >> Regardless of the answer, the 'numpy/numpy/version.py' will need to
> >> >> changed because of the reference to the svn naming.
> >> >
> >> > In case it's useful, we (nipy) went for a scheme where the version
> >> > number stays as '2.0.0.dev', but we keep a record of what git commit
> >> > has we are on - described here:
> >> >
> >> > http://web.archiveorange.com/archive/v/AW2a1CzoOZtfBfNav9hd
> >> >
> >> > I can post more details of the implementation if it's of any interest,
> >>
> >> In the meantime there's a patch in that direction here:
> >>
> >> https://github.com/numpy/numpy/pull/12
>
> Tiny patch for py3k attached.
>
> Should the generated numpy/version.py be in .gitignore?  Is there a
> better name in order to signal the generated nature of the file?
>
>
I thought it already was, but if not, yes, I think it should be added. I
suppose we could add a 'generated' suffix to the name to mark it as such,
but really it seems the file should go into the build directory somewhere,
although that might make it difficult to access if needed in other parts of
the build. Having the generated file in the main tree was something that
bothered me when I committed the patch, but not enought to try to fix it.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101111/3ce043cf/attachment.html 


More information about the NumPy-Discussion mailing list