Skip to content

Commit

Permalink
PKG: Added pyproject.toml for PEP 518
Browse files Browse the repository at this point in the history
Declaring build-time requirements: https://www.python.org/dev/peps/pep-0518/
  • Loading branch information
TomAugspurger committed Aug 29, 2017
1 parent 66ec5f3 commit 5c40e1b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include LICENSE
include RELEASE.md
include README.rst
include setup.py
include pyproject.toml

graft doc
prune doc/build
Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.21.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Other Enhancements
^^^^^^^^^^^^^^^^^^

- The ``validate`` argument for :func:`merge` function now checks whether a merge is one-to-one, one-to-many, many-to-one, or many-to-many. If a merge is found to not be an example of specified merge type, an exception of type ``MergeError`` will be raised. For more, see :ref:`here <merging.validation>` (:issue:`16270`)
- Added support for `PEP 518 <https://www.python.org/dev/peps/pep-0518/>`_ to the build system (:issue:`16745`)
- :func:`Series.to_dict` and :func:`DataFrame.to_dict` now support an ``into`` keyword which allows you to specify the ``collections.Mapping`` subclass that you would like returned. The default is ``dict``, which is backwards compatible. (:issue:`16122`)
- :func:`RangeIndex.append` now returns a ``RangeIndex`` object when possible (:issue:`16212`)
- :func:`Series.rename_axis` and :func:`DataFrame.rename_axis` with ``inplace=True`` now return ``None`` while renaming the axis inplace. (:issue:`15704`)
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build-system]
requires = [
"wheel",
"setuptools",
"Cython", # required for VCS build, optional for released source
"numpy==1.9.3; python_version=='3.5'",
"numpy==1.12.1; python_version=='3.6'",
"numpy==1.13.1; python_version>='3.7'",
]

0 comments on commit 5c40e1b

Please sign in to comment.