1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Phil Thompson <phil@riverbankcomputing.com>
Date: Mon, 28 Dec 2020 16:26:40 +0000
Subject: Fixed the handling of sip.pyi with a bespoke setup.py.
---
sipbuild/module/module.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sipbuild/module/module.py b/sipbuild/module/module.py
index 7ac3305..a7f537a 100644
--- a/sipbuild/module/module.py
+++ b/sipbuild/module/module.py
@@ -165,7 +165,7 @@ def _create_sdist(sdist_dir, abi_version, patches, setup_cfg):
# If the user's setup.cfg mentions sip.pyi then assume it is needed.
if 'sip.pyi' in setup_cfg_text:
- shutil.copy(os.path.join(module_ourcec_dir, 'sip.pyi'), sdist_dir)
+ shutil.copy(os.path.join(module_source_dir, 'sip.pyi'), sdist_dir)
# Create the sdist file using setuptools. This means any user supplied
# setup.cfg should be handled correctly.
|