summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-05 10:32:28 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-05 10:32:28 +0100
commitccca622fa78296503f3c2c7deddca7ecd2b61fc6 (patch)
tree245e56af6b85dac76b2d25437cf6b6408883aaaf /setuptools
parentb0b9420f5ac7a62401432b77ed1e8c59f11322d6 (diff)
parent05a69d8ee229824651e64ce33e2b56f3676060f8 (diff)
downloadpython-setuptools-git-ccca622fa78296503f3c2c7deddca7ecd2b61fc6.tar.gz
Merge branch 'main' into feature/pep660
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/extension.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setuptools/extension.py b/setuptools/extension.py
index b9a2bad3..e544b666 100644
--- a/setuptools/extension.py
+++ b/setuptools/extension.py
@@ -73,7 +73,9 @@ class Extension(_Extension):
:keyword list[str] runtime_library_dirs:
list of directories to search for C/C++ libraries at run time
- (for shared extensions, this is when the extension is loaded)
+ (for shared extensions, this is when the extension is loaded).
+ Setting this will cause an exception during build on Windows
+ platforms.
:keyword list[str] extra_objects:
list of extra files to link with (eg. object files not implied
@@ -116,6 +118,9 @@ class Extension(_Extension):
:keyword bool py_limited_api:
opt-in flag for the usage of :doc:`Python's limited API <python:c-api/stable>`.
+
+ :raises DistutilsPlatformError: if 'runtime_library_dirs' is specified
+ on Windows. (since v63)
"""
def __init__(self, name, sources, *args, **kw):