summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* DOC, BUILD: make build_src more discoverablemattip2019-09-201-2/+5
|
* BLD: remove generated Cython files from sdistRalf Gommers2019-09-081-2/+2
| | | | | | | | | | | | | | | Rationale: it has happened multiple times in the recent past that users needed to use a more recent Cython than was used to generate the sdist of the most recent release available on PyPI (e.g. for building with a not-yet-released version of Python for which a Cython fix just landed). The dependency specification and packaging tools have matured to the point where it should be fine to require Cython to be installed. Also, we have wheels (and conda-forge packages) for Windows, Linux and macOS, so this change won't be visible at all to the average user. Closes gh-13790 Also adds pyproject.toml to MANIFEST.in, it was missing.
* DOC: Document project as Python 3 only with a trove classifierJon Dufresne2019-08-261-0/+1
|
* ENH: add pyproject.tomlmattip2019-07-171-1/+1
|
* MAINT: Remove unnecessary backslashes when not needed.MSeifert042019-07-021-2/+2
| | | | See also: #13880
* MAINT: Prepare master for 1.18.0 development.Charles Harris2019-06-301-1/+1
| | | | | | - Create release notes. - Update pavement.py. - Update setup.py
* MAINT: remove pre-randomgen _mtrandmattip2019-05-231-1/+1
|
* BENCH: convert bencmarks to asv formatmattip2019-05-201-2/+2
| | | | | | | remove files that were part of the origal repo rework randomgen docs to integrate with numpy and fix some links remove convenience functions, require explicit call to gen.brng move code out of numpy.random.randomgen into numpy.random
* BUILD: move files out of _randomgenmattip2019-05-201-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first cut at building randomgen upgrade 'cythonize' and fix absolute imports to relative define NPY_NO_DEPRECATED_API and fix other warnings enable pgc64 by always using PCG_EMULATED_MATH refactor so import randomgen works add TODO comments for pcg64 improvements fix imports, module name in setup.py; remove _testing make cythonize non-recursive, restore examples to proper place update to randomgen 7bca296c0b9 replace mtrand with LegacyGenerator, tweak for compatibility port f879ef4 to fix GH10839 minimized difference between generator.pyx and _legacy.pyx fix namespace in doctests, mark results that are random update to randomgen commit 95c8cdd1c Incorporate testing of edge cases into main tests Rename test files to describe their purpose Import import locations to reflect numpy paths Correct tolerance on float32 tests Remove set_printoptions Remove complex normal Remove future imports Pull in BasicRNG source changes from original author Small doc fixes _mtrand => _rand Improve consistency of nan handling Prevent nans prducing values from int functions add randomgen documentation to the tree
* MAINT: rename LICENSE_bundled.txt to LICENSES_bundled.txtRalf Gommers2019-05-071-3/+3
| | | | Finally seems to make the GitHub license detection mechanism happy
* BLD: prune LICENSE_bundled.txt in MANIFEST.inRalf Gommers2019-05-061-5/+0
|
* LICENSE: split license file in standard BSD 3-clause and bundled.Ralf Gommers2019-05-041-1/+34
| | | | | | | | | | | | | | | Reason: the GitHub license detection method relies on the LICENSE file matching for at least 95% with a standard license. Adding even one more sentence changes the license displayed in the GitHub UI and also in the GitHub API that can be queried from BSD to "other". See https://github.com/numpy/numpy/issues/13447 for more details. Note that this split license is what GitHub recommends to do, and is also what we do for wheels, where we append to the license file at build time.
* BUG: missing git raises an OSErrormattip2019-05-011-1/+1
|
* BUILD, BUG: fix from review, fix bug in git_versionmattip2019-04-251-2/+2
|
* Add project_urls to setupJarrod Millman2019-04-111-0/+5
| | | | These are used by PyPI and other services.
* BLD: Fix minimum Python version in setup.py (#12616)Juan Luis Cano Rodríguez2018-12-261-3/+1
| | | | | * BLD: Fix minimum Python version in setup.py See https://github.com/numpy/numpy/issues/12480 for discussion.
* MAINT: Prepare master for 1.17.0 development.Charles Harris2018-12-081-10/+6
| | | | | | | | | | | | - Create 1.17.0-notes - Update index.rst for new notes - Update pavement.py - Update setup.py - Remove Python 2.7 and 3.4 from CI testing. - Add `# cython: language_level=3` to `*.pxd`, `*.pyx` files. Note that this removes support for both Python2.7 and Python3.4 in setup.py.
* Merge pull request #11802 from charris/f2py-console-scriptCharles Harris2018-08-281-0/+15
|\ | | | | ENH: Use entry_points to install the f2py scripts.
| * ENH: Use entry_points to install the f2py scripts.Charles Harris2018-08-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds entry_points for the f2py scripts. The installed scripts differ between Windows and other environments. * On Windows, the only script installed is 'f2py'. This works well in that environment because each Python version is installed in its own directory, making it easy to keep the differing script versions separate. * Otherwise, three scripts are installed, 'f2py', 'f2py' + 'minor', and 'f2py' + 'major.minor'. For instance, if Numpy is installed by Python 2.7, then the installed scripts will be named 'f2py', 'f2py2', and 'f2py2.7'. That naming scheme is used for back compatibility, and also so that more than one Python version can be dealt with in a way common to many Linux distros. Note that 'f2py' will always point to the latest install and 'f2py(2|3)' to the latest Python (2|3) install The script tests have been modified to check for the new environment and the code previously used to install the scripts has been removed.
* | DOC: edit setup.py docstring that is displayed on PyPI.Ralf Gommers2018-08-241-15/+12
|/ | | | | | | | The text on numpy.org was better, so mostly reused that. Only kept the additional clarification about wheels on PyPI being BSD licensed. closes gh-11793
* BUG: Revert use of `console_scripts`.Charles Harris2018-08-111-7/+0
| | | | | | | | The changes introduced in #10463 caused f2py to hang in somde circumstances. There is may a better fix than this, but until it is implemented it is better to undo the change. Closes #11649.
* MAINT: add PyPI classifier for Python 3.7Ralf Gommers2018-06-271-0/+1
| | | | [ci skip]
* HTTP -> HTTPS, and other linkrot fixesMike Toews2018-06-161-2/+2
|
* REL: Setup master for 1.16 development.Charles Harris2018-06-121-1/+1
|
* BUG: Fix `setup.py build install egg_info`, which did not previously buildEric Wieser2018-03-121-9/+16
| | | | | | Fixes #10646 The original intent was to disable builds when _only_ the egg_info target is requested, not whenever it is one of the targets.
* BUG: fix entry_points typo for from-templatexoviat2018-02-141-1/+1
|
* ENH: Add entry_points for f2py, conv_template, and from_template. (#10463)xoviat2018-01-301-0/+7
| | | | | | | | | | * Add entry points for f2py and conv-template * Add main function to conv_template * Extract function * Add entry point
* Use zip_safe=False in setup() callNathaniel J. Smith2018-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted in: https://github.com/travis-ci/travis-ci/issues/9119 Apparently Travis-CI is trying to build numpy for the latest CPython 3.7-dev snapshot, and getting a bizarre error in setuptools: Traceback (most recent call last): File "setup.py", line 394, in <module> setup_package() File "setup.py", line 386, in setup_package setup(**metadata) File "/home/travis/build/numpy/numpy/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/setuptools/__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "/opt/python/3.7-dev/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/opt/python/3.7-dev/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/opt/python/3.7-dev/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/travis/build/numpy/numpy/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/home/travis/build/numpy/numpy/numpy/distutils/command/install.py", line 56, in setuptools_run self.do_egg_install() File "/home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "/opt/python/3.7-dev/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/opt/python/3.7-dev/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 218, in run os.path.join(archive_root, 'EGG-INFO'), self.zip_safe() File "/home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 269, in zip_safe return analyze_egg(self.bdist_dir, self.stubs) File "/home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 379, in analyze_egg safe = scan_module(egg_dir, base, name, stubs) and safe File "/home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 416, in scan_module code = marshal.load(f) ValueError: bad marshal data (unknown type code) (Buried in https://api.travis-ci.org/v3/job/332144862/log.txt) I don't know why that code is crashing, but it looks like the code that's crashing is scanning numpy trying to figure out if it's "zip_safe". Numpy is definitely not zip_safe, so we might as well tell setuptools that and it can stop trying to guess.
* MAINT: Update download URL in setup.py.Charles Harris2018-01-101-1/+1
| | | | Closes #10358.
* MAINT: Update development branch version to 1.15.0.Charles Harris2017-12-111-1/+1
|
* BLD: Include the license file in NumPy wheels.Charles Harris2017-11-291-3/+4
| | | | | | The `LICENSE.txt` file needs to be in the numpy wheels in order to meet the terms of the linked libraries. Add it to the configuration data files so that it shows up in the numpy package.
* BUG: fix issue when using ``python setup.py somecommand --force``.Ralf Gommers2017-06-201-0/+1
| | | | [ci skip]
* MAINT: Update master branch for 1.14.0 development.Charles Harris2017-05-101-1/+1
| | | | Post 1.13.x branch housekeeping.
* REL: add `python_requires` to setup.pyRalf Gommers2017-04-161-0/+1
| | | | | | | | | This allows pip to figure out the last compatible version with a particular Python version before attempting to install. Support for this field was added to setuptools last year: https://github.com/pypa/setuptools/pull/631
* DOC: update docs and comments for move of mailing list to python.orgRalf Gommers2017-03-261-1/+1
|
* BUG: Add HOME to the git environment.Robert Kern2017-03-081-1/+1
| | | | | git config files can contain ~ expansions that require $HOME to be defined. Some installations of git have these in the global defaults now.
* MAINT: Update pavement.py and setup.py for numpy 1.13.0.Charles Harris2016-11-051-1/+2
|
* DOC: change Numpy to NumPy in remaining filesPierre de Buyl2016-09-061-4/+4
| | | | the files in doc/ and numpy/ were covered in previous commits
* Merge pull request #7956 from rgommers/numpysetupCharles Harris2016-09-031-0/+5
|\ | | | | BLD: remove __NUMPY_SETUP__ from builtins at end of setup.py
| * BLD: remove __NUMPY_SETUP__ from builtins at end of setup.pyRalf Gommers2016-09-031-0/+5
| | | | | | | | May help reduce the occurrence of gh-2434.
* | ENH: Add stacklevel to all (or almost all) our function callsSebastian Berg2016-09-021-1/+1
|/