[Numpy-discussion] Developmental version numbering with git

Matthew Brett matthew.brett@gmail....
Thu Nov 11 14:09:26 CST 2010


On Thu, Nov 11, 2010 at 11:44 AM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
> On Thu, Nov 11, 2010 at 12:32 PM, Matthew Brett <matthew.brett@gmail.com>
>> 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.

I never really understood what numpy/__config__.py was for, or how it
came about, but I had the impression that was the place that
build-time stuff got written - is that correct?   Would it be a
sensible place to write version information?

See you,


More information about the NumPy-Discussion mailing list