| Summary: | dev-python/numpy and dev-python/numpy-python2: consider removing PKG-INFO to force cython compilation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | python |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I think running cython would only be necessary if we actually patched the numpy source code. Otherwise, it's a waste of CPU time. Fine, thanks a lot :) |
When I was reviewing how other distributions where packaging numpy* packages I found that Fedora and openSuSE are doing: rm -v PKG-INFO That way they force cython run due to this in setup.py if run_build: from numpy.distutils.core import setup cwd = os.path.abspath(os.path.dirname(__file__)) if not os.path.exists(os.path.join(cwd, 'PKG-INFO')): # Generate Cython sources, unless building from source release generate_cython() metadata['configuration'] = configuration I am unsure if we are not doing it on purpose... but, for letting you know before I forget about it :)