summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22493 from mwtoews/maint-openSebastian Berg2023-04-281-2/+2
|\ | | | | MAINT: remove redundant open() modes and io.open() alias
| * MAINT: remove redundant open() modes and io.open() aliasMike Taves2022-10-291-2/+2
| |
* | BUG: Avoid uses -Werror during tests default C/C++ standardsSayed Adel2023-04-241-4/+1
| | | | | | | | | | | | | | | | | | | | This may break the test if any unsupported compiler options are specified. This patch also removes the testing of constexpr and keeps only fold expressions and inline variables to avoid triggering the constexpr warning warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17 by Travis CI, which can cause the build to fail due to warning trapping.
* | BLD: add static to std_c_flags test program (see gh23538)Andrew Nelson2023-04-081-1/+1
| |
* | ENH: Raise C++ standard to C++17Sayed Adel2023-04-041-23/+115
| |
* | MAINT: cleanup unused Python3.8-only code and referencesClément Robert2023-03-141-2/+1
| |
* | BUILD: error when building with python<3.9mattip2023-01-261-2/+2
| |
* | Merge pull request #22687 from rgommers/fix-newer-setuptoolsMatti Picus2022-11-301-0/+3
|\ \ | | | | | | BLD: revert adding PEP 621 metadata, it confuses setuptools
| * | STY: satisfy linterStefan van der Walt2022-11-291-1/+2
| | |
| * | BLD: add workaround in setup.py for newer setuptoolsRalf Gommers2022-11-291-0/+2
| | |
* | | MAINT: Move _inspect and _pep440 from compat to _utilsSebastian Berg2022-11-251-3/+3
|/ / | | | | | | | | Note that unfortunately, compat does expose _inspect as well, so the import remains (just the definition place moves).
* | removing docstringhannah2022-11-011-25/+5
| |
* | REL: readme in pypy plus testhannah2022-10-301-1/+3
| |
* | MAINT: Use SPDX license expression in project metadataFrazer McLean2022-10-281-1/+1
|/
* MAINT: change subprocess arguments from Python>=3.7Mike Taves2022-10-271-2/+2
|
* DOC: fix code comment forward reference (#22401)Dimitri Papadopoulos Orfanos2022-10-071-1/+1
|
* MAINT: Update setup.py for Python 3.11.Charles Harris2022-08-171-1/+2
|
* MAINT: Update to Cython 0.29.30.Mariusz Felisiak2022-05-191-1/+1
|
* MAINT: Update to Cython 0.29.29.Mariusz Felisiak2022-05-161-2/+2
|
* MAINT: Translate ieee754.c.src to C++ using templates. (#21367)serge-sans-paille2022-04-291-1/+2
| | | | | | | | | | | | | | | | | | | * [Road to C++] Rename ieee754.c.src into ieee754.cpp.src * [Road to C++] Remove all use of internal template engine Replace them by regular C++ templates. * [Road to C++] mv ieee754.cpp.src ro ieee754.cpp Clang-format it, and update build system accordingly. * Fix 'unnecessary parentheses in declaration of ‘__NPY_UNUSED_TAGGEDc’ [-Wparentheses]' * [Road to C++] Fix misc conversion issues in ieee754.cpp - hex float literal are not supported in C++ - avoid overload issues when numpy_longdouble ultimately is equal to double - _statusfp2 exepcts unsigned arguments
* MAINT: Replace LooseVersion by _pep440.Charles Harris2022-02-051-2/+27
| | | | | | | | LooseVersion is provided by Python distutils, which is going away in 3.12. This PR vendors _pep440 from scipy and uses it as a replacement. Numpy distutils is not touched, replacing LooseVersion in that package was considered too risky, and numpy distutils will need to go away when Python distutils does.
* MAINT: be more tolerant of setuptools>=60Andrew J. Hesford2022-02-011-3/+10
| | | | | | | NumPy may fail to build with the default vendored distutils in setuptools>=60. Rather than panic and die when new setuptools is found, let's check (or set, if possible) the SETUPTOOLS_USE_DISTUTILS environment variable that restores "proper" setuptools behavior.
* Merge pull request #20745 from bwoodsend/pyinstaller-hookCharles Harris2022-01-231-0/+1
|\ | | | | ENH: add hook and test for PyInstaller.
| * ENH: add hook and test for PyInstaller.bwoodsend2022-01-201-0/+1
| | | | | | | | | | | | | | | | Adding this special hook file tells PyInstaller what files a self contained NumPy application needs to run. A test is included to verify that the hook still finds all necessary files. Closes #17184.
* | MAINT: Fix inconsistent PyPI casingNihaal Sangha2022-01-201-3/+3
|/
* MAINT: Raise RuntimeError if setuptools version is too recent.Charles Harris2022-01-061-0/+4
| | | | | | | | | NumPy does not build with setuptools versions greater than '60.0.0'. Check the version when setuptools is imported in setup.py and raise a RuntimeError if the version is too recent. That way we avoid people opening issues when their build fails for that reason. Closes #20692.
* DOC: add hypothesis test depedency in README and PyPI long-descriptionRalf Gommers2021-12-281-0/+5
| | | | [ci skip]
* MAINT: Fix python version check in setup.py to require Python 3.8Sebastian Berg2021-11-071-2/+1
| | | | | Previously, this was not strictly enforced for the only purpose of running LGTM (hoping it would be fixed before the 1.22 release).
* Entry point for Array API implementationMatthew Barber2021-11-041-1/+2
| | | | Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
* More informative error for unparsable versionMatthew Brett2021-10-231-1/+4
| | | | | | When Git is not installed, it is possible to get useless version strings from versioneer, such as `0+unknown`. Give a more informative error in that case.
* [demo] how-to replacing numpy custom generation engine by raw C++serge-sans-paille2021-10-221-3/+2
| | | | | This is just a technical prototype to measure and discuss the impact and implication of moving to C++ for kernel code generation.
* BLD: Bump the warning for potentially unsupported Python versionsBas van Beek2021-10-051-1/+1
|
* MAINT: Drop Python 3.7 from setup.pyCharles Harris2021-08-161-3/+4
|
* BUG: Fix setup.py to work in maintenance branches.Charles Harris2021-05-251-2/+9
| | | | | | | This fixes setup.py to correctly detect the release status and base version from the full version string provided by versioneer. Before this fix, versions like '1.22.0.dev0+...' were correctly handled, but versions like '1.21.0rc1+...' were not.
* ENH: Removed useless declarations in `bad_commands` Giulio Procopio2021-03-181-6/+0
| | | When creating the `bad_commands` dictionary it is useless to declare commands that are already set with a default message in the 329th line's for loop
* BLD: fix issue with `bdist_egg`, which made `make dist` in doc/ failRalf Gommers2021-01-271-1/+2
| | | | | | | | This issue came in because of commit 9b3f65096e a month ago. `bdist_egg` has always been missing from the command list, but that wasn't a problem because missing commands were simply ignored by the validation. After that commit we started raising a RuntimeError instead.
* Merge pull request #18042 from charris/testingCharles Harris2020-12-271-10/+6
|\ | | | | MAINT: Add dist_info to "other" setup.py commands.
| * MAINT: Add dist_info to valid setup.py commands.Charles Harris2020-12-271-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | The follwing changes are made to 'setup.py'. - Add 'dist_info' to the valid 'setup.py' commands. The 'dist_info' command was added to setuptools in 2017 and we were following the unrecognized command path in setup.py which raised a warning. - Add 'version' to the recognized information commands, it came in with the move to versioneer. - Include the arguments passed to 'setup.py' when the unrecognized command warning is raised. This will aid in maintaining the command checks in the future.
* | BLD: ensure we give the right error message for old Python versionsRalf Gommers2020-12-221-5/+10
|/ | | | | Before this change, it would give a random syntax error somewhere in `versioneer`.
* BUG: Replace f-string in root setup.pyCharles Harris2020-12-121-4/+4
|
* BUG: Make sdist use distutils.Charles Harris2020-12-101-5/+8
| | | | If sdist uses setuptools there can be problems, see gh-7127.
* ENH: Use versioneer to manage numpy versions.Charles Harris2020-12-081-123/+49
| | | | | | | | | | | | The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the number of commits since the 1.21.0 branch was started and 'aa0453721f'. The chosen form may be specified in the 'setup.cfg' file. This PR adds two new files 'numpy/_version.py' and 'numpy/version.py'. The latter is kept because it is part of the public API and is actually used by some downstream projects, but it is no longer dynamically created. See https://github.com/python-versioneer/python-versioneer/ for more information.
* MAINT: Remove remaining uses of Python 3.6.Charles Harris2020-12-021-4/+3
| | | | We missed a few first time around.
* ENH: Timestamp development versions.Charles Harris2020-11-301-1/+4
| | | | | | | | | This adds a timestamp to development versions of NumPy. We used to do this for NumPy nightly builds so that pip would pickup the latest version, but pip 20.3 breaks with that as there is disagreement between the wheel name and the internal version. Closes #17885.
* MAINT: Update master after 1.20.x branch.v1.21.0.dev0Charles Harris2020-11-271-1/+1
| | | | | | | | - Update setup.py - Update pavement.py - Add 1.21.0-note.rst - Update npyconfig.h - Clear release/upcoming_changes
* ENH: adds type hints to numpy.version (gh-17711)Douglas Fenstermacher2020-11-051-5/+5
| | | Closes gh-17702
* fix small typos.Qiyu82020-11-031-1/+1
|
* Fully qualify license trove classifierjohnthagen2020-10-221-1/+1
|
* Merge pull request #17444 from BvB93/typedMatti Picus2020-10-041-0/+1
|\ | | | | ENH: Add `Typing :: Typed` to the PyPi classifier
| * ENH: Add `Typing :: Typed` to the PyPi classifierBas van Beek2020-10-041-0/+1
| |