summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Add 3.10 classifierHugo van Kemenade2020-10-041-0/+1
| |
* | Update commentHugo van Kemenade2020-10-041-1/+1
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | Already compatible with 3.10Hugo van Kemenade2020-10-041-1/+1
| |
* | Clarify warning, it might work before official supportHugo van Kemenade2020-10-041-1/+1
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | Add comment to remind to keep consistent with classifiersHugo van Kemenade2020-10-041-0/+1
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | MAINT: Fix Flake8Hugo van Kemenade2020-10-041-27/+25
| |
* | ENH: Warn on unsupported Python 3.9+Hugo van Kemenade2020-10-041-1/+8
|/
* Merge pull request #16619 from mattip/c99-again2Charles Harris2020-08-271-12/+18
|\ | | | | BLD: check if std=c99 is really required
| * MAINT: refactoring from reviewmattip2020-07-281-16/+17
| |
| * MAINT: fixes from reviewmattip2020-07-281-4/+4
| |
| * BUG: fixes failures (from review)mattip2020-06-171-3/+4
| |
| * BLD: use '-dumpversion' to get gcc versionmattip2020-06-161-15/+7
| |
| * BLD: check if std=c99 is really requiredmattip2020-06-161-7/+19
| |
* | ENH: Add NumPy declarations to be used by Cython 3.0+ (#16986)scoder2020-08-051-1/+1
| | | | | | * Create copy of numpy.pxd for Cython 3.0 changes and improve it.
* | Revert "MAINT: setuptools 49.2.0 emits a warning, avoid it"mattip2020-07-141-4/+0
| |
* | MAINT: setuptools 49.2.0 emits a warning, avoid itmattip2020-07-121-0/+4
| |
* | REL: Fix outdated docs linkEric Wieser2020-06-201-1/+11
|/
* MAINT: Remove f-strings in setup.py. (gh-16346)Wojciech Rzadkowski2020-05-221-2/+2
| | | Remove f-strings from setup.py to allow for an informative error message for python<3.6 users. Closes #16345.
* BUG: Require Python >= 3.6 in setup.pyCharles Harris2020-05-181-2/+2
| | | | Closes #16294.
* REL: Update master after 1.19.x branch.Charles Harris2020-05-171-1/+1
| | | | | | | | - Delete release note fragments from 1.19.0 (towncrier) - Update 1.19.x release note (towncrier) - Create 1.20.0-notes.rst for master development - Update C-API versions for 1.20.x - Update setup.py for 1.20.0
* BUG: add missing numpy/__init__.pxd to the wheelmattip2020-05-051-0/+1
|
* convert shebang from python to python3 (#15687)Changqing Li2020-03-041-1/+1
| | | | Signed-off-by: Changqing Li <changqing.li@windriver.com>
* MAINT: cleanup unused imports; avoid redefinition of importsMike Taves2020-02-061-1/+3
| | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811)
* Updated setup.py with f-stringsXavier Thomas2020-01-241-2/+3
| | | | With reference to the issue MAINT: Use f-strings instead of other string formatting methods #15420 Updated setup.py with f-strings for better readability.
* DOC: fix typosBrian Wignall2020-01-141-1/+1
|
* MAINT: --std=c99 works, but -std=c99 is bettermattip2020-01-051-4/+4
|
* MAINT: add --std=c99 in setup.py, not distutilsmattip2020-01-051-2/+40
|
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* REL: Update master after 1.18.x branch.Charles Harris2019-12-031-4/+3
| | | | | | | Apart from the usual modifications, this - Removes a release note snippet added after towncrier was run - Removes testing on Python 3.5 as it is dropped for 1.19.x.
* Update CLASSIFIERS with python 3.8 supportGrzegorz Bokota2019-10-241-0/+1
|
* MAINT: Add assert that git version is available. (#14548)Seth Troisi2019-09-231-0/+4
| | | | MAINT: handle case where GIT_VERSION is empty string
* BUG: importing build_src breaks setuptools monkeypatch for msvc14mattip2019-09-211-2/+0
|