summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Allows building npy_math with static inliningAndres Guzman-Ballen2017-03-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code Overview: Numpy currently decouples the math function definitions in `npy_math.c.src` from the function declarations found in `npy_math.h`. This patch allows definitions to be included along with the inclusion of the `npy_math.h` header. Keeping the declarations and definitions separate is usually the right approach, but mathematical code like this might be better off as an exception to this common practice. Because the definitions are in the source file instead of the header, the compiler does not have any clue what lies underneath these math functions. This means the compiler can't make important optimizations like inlining and vectorization. Extensions that utilize these functions could greatly benefit from this, specifically `loops.c.src` from the umath extension. Implementation Details: + Renames `npy_math.c.src` to `npy_math_internal.h.src` + Generates `npy_math_internal.h` from template by adding to `npymath_sources` list and adding `npymath` directory to include paths in `generate_numpyconfig_h` function of `numpy/core/setup.py` + Numpy's core distutils defines `#NPY_INTERNAL_BUILD` macro to make sure `npy_math_internal.h` is not included when other modules try to include public header `npy_math.h` - Currently do not know how to ship headers generated from template files + Adds `npy_math.c`, a file that includes the `npy_math_internal.h.src` file (but does not add NPY_INLINE static) - This is to keep the same static npy_math library as it exists now + Appends `numpy/npy_math.h` with `npy_math_internal.h` under condition that it's not being included in npy_math.c.src - The conditional macros mean `loops.c.src` will have definitions included, and the compiler will vectorize accordingly + Adds `NPY_INLINE` static to function declarations and definitions when necessary + Replaces `sqrtf` with `npy_sqrtf` in `numpy/core/src/umath/umath_tests.c` to make function portable - `_sqrtf` was not found on certain Windows environments compiling with Py2
* ENH: Vendorize tempita.Charles Harris2016-09-301-0/+1
| | | | | | | | | | | Copy tempita from https://github.com/gjhiggins/tempita with a few changes to remove the six dependency. This removes a dependency on Cython's tempita, which is not to be relied on as it is considered by the Cython folks to be an implementation detail. The package is named npy_tempita so that it can always be distinguished from an installed tempita. The cythonize.py script is changed to use the vendorized tempita.
* MAINT: Add PMIP files to .gitignoregfyoung2016-09-191-0/+1
|
* BLD: finish handling of setuptools commands.Ralf Gommers2016-01-161-0/+1
| | | | | Also ignore setup.cfg: this file is created/modified by the alias/setopt/saveopts commands, and therefore needs to be in .gitignore.
* MAINT: update .gitignore vs benchmarksPauli Virtanen2015-08-221-0/+3
|
* ENH: Ignore PyCharm project files.John Kirkham2015-02-171-0/+4
|
* MAINT: update .gitignore for new template filesJulian Taylor2015-01-221-2/+2
|
* MAINT: .gitignore += generated umath/loops.hKirill Smelkov2014-07-271-1/+1
| | | | | | | | | Commit 494abcf1 (ENH: speed-up minimum, maximum and xor for bool dtype) reworked numpy/core/src/umath/loops.h to be autogenerated at build time, but forgot to update .gitignore. Fix it, so that the now-autogenerated loops.h do not constantly show as untracked in git status output.
* MAINT: add common source indexer files to .gitignoreJulian Taylor2014-07-271-0/+6
| | | | ignore cscope and gnu global files
* BLD: remove cython c source from gitJulian Taylor2014-04-051-0/+3
| | | | | | | Instead generate at build time. The generated sources are still part of the sdist. tools/cythonize.py is copied from SciPy with small changes to the configuration.
* MAINT: ignore some more generated C filesLars Buitinck2014-03-251-0/+4
|
* BUG: .gitignore ignores all release directories.Charles Harris2013-09-051-1/+1
| | | | | It should only ignore the one in the root directory. The fix is to prepend a '/' to the directory name.
* ENH: Add paver generated release directory to .gitignore.Charles Harris2013-09-021-0/+4
|
* MAINT: ignore some more generated C files.Lars Buitinck2013-08-271-1/+7
|
* requested filetypes and dirs to gitignoreEric Fode2012-07-111-0/+3
|
* added generated c files to gitignoreEric Fode2012-07-111-0/+25
|
* Add a little command-line tool for running tests, plus tox supportNathaniel J. Smith2012-05-211-0/+2
| | | | | | | Tox is a handy little tool to make it easier than not to run proper tests that exercise the build system and are run against multiple Python versions: http://pypi.python.org/pypi/tox See comment at the top of tox.ini for hints.
* BUG: Fix .gitignore again, using github suggestions.Charles Harris2012-04-021-2/+2
| | | | http://help.github.com/ignore-files/
* ENH: Add some filenames to .gitignore, fix .DS_Store entry.Charles Harris2012-04-021-2/+4
|
* ENH: add files generated during build and site.cfg to .gitignore.rgommers2011-03-121-0/+6
|
* ENH: Add patch files to .gitignore.Charles Harris2011-01-231-0/+5
|
* BUG: Git treats any line in .gitignore containing # anywhere as a comment.Charles Harris2010-10-311-5/+10
|
* ENH - improved .gitignoreJarrod Millman2010-10-111-15/+68
|
* ENH: Add .gitignore file.Charles Harris2010-09-151-0/+19
|
* Don't track .gitignore file.Charles Harris2010-06-071-13/+0
|
* Add gitignore for those using git-svn.Stefan van der Walt2009-10-251-0/+13