summaryrefslogtreecommitdiff
path: root/setuptools/command/py36compat.py
diff options
context:
space:
mode:
authorAlexander Duryagin <aduryagin@gmail.com>2019-01-11 15:29:40 +0300
committerAlexander Duryagin <aduryagin@gmail.com>2019-01-11 15:29:40 +0300
commit0c79e4d09cf429a2aabbcb6d4cf1455ec45a0137 (patch)
tree1f52af63ba3201f40a58694dfe4a140ce1050e86 /setuptools/command/py36compat.py
parentf8ff0d0d4657d5f6a638fb90f0d518bd2768aa7b (diff)
downloadpython-setuptools-git-0c79e4d09cf429a2aabbcb6d4cf1455ec45a0137.tar.gz
include pyproject.toml in sdist (#1632)
Diffstat (limited to 'setuptools/command/py36compat.py')
-rw-r--r--setuptools/command/py36compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/py36compat.py b/setuptools/command/py36compat.py
index 61063e75..c256bfb8 100644
--- a/setuptools/command/py36compat.py
+++ b/setuptools/command/py36compat.py
@@ -76,7 +76,7 @@ class sdist_add_defaults:
self.warn("standard file '%s' not found" % fn)
def _add_defaults_optional(self):
- optional = ['test/test*.py', 'setup.cfg']
+ optional = ['test/test*.py', 'setup.cfg', 'pyproject.toml']
for pattern in optional:
files = filter(os.path.isfile, glob(pattern))
self.filelist.extend(files)