Skip to content

Commit 4b1b0ee

Browse files
TomAugspurgeralanbato
authored andcommitted
PKG: Added pyproject.toml for PEP 518 (pandas-dev#16745)
Declaring build-time requirements: https://www.python.org/dev/peps/pep-0518/
1 parent 8b436d6 commit 4b1b0ee

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ include LICENSE
33
include RELEASE.md
44
include README.rst
55
include setup.py
6+
include pyproject.toml
67

78
graft doc
89
prune doc/build

doc/source/whatsnew/v0.21.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ Other Enhancements
112112
^^^^^^^^^^^^^^^^^^
113113

114114
- 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`)
115+
- Added support for `PEP 518 <https://www.python.org/dev/peps/pep-0518/>`_ to the build system (:issue:`16745`)
115116
- :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`)
116117
- :func:`RangeIndex.append` now returns a ``RangeIndex`` object when possible (:issue:`16212`)
117118
- :func:`Series.rename_axis` and :func:`DataFrame.rename_axis` with ``inplace=True`` now return ``None`` while renaming the axis inplace. (:issue:`15704`)

pyproject.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build-system]
2+
requires = [
3+
"wheel",
4+
"setuptools",
5+
"Cython", # required for VCS build, optional for released source
6+
"numpy==1.9.3; python_version=='3.5'",
7+
"numpy==1.12.1; python_version=='3.6'",
8+
"numpy==1.13.1; python_version>='3.7'",
9+
]

0 commit comments

Comments
 (0)