Skip to content

Commit

Permalink
remove bdist_msi to support pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Aug 22, 2021
1 parent a3ece30 commit b3e9fea
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source:
patches:
- disable_exchange_modules.patch
- 0003-remove-PATH-pth-hack.patch
- remove_bdist_msi_to_support_pypy.patch

build:
number: 0
Expand Down
21 changes: 21 additions & 0 deletions recipe/remove_bdist_msi_to_support_pypy.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
--- setup.py 2021-08-22 12:39:24.017489412 -0700
+++ setup.py 2021-08-22 12:39:42.477672163 -0700
@@ -79,8 +79,6 @@
from distutils.command.install_data import install_data
from distutils.command.build_scripts import build_scripts

-from distutils.command.bdist_msi import bdist_msi
-
from distutils.msvccompiler import get_build_version
from distutils import log

@@ -2299,9 +2297,6 @@
"title": "pywin32-%s" % (build_id,),
"user_access_control": "auto",
},
- "bdist_msi":
- {"install_script": "pywin32_postinstall.py",
- },
},

scripts = ["pywin32_postinstall.py", "pywin32_testall.py"],

0 comments on commit b3e9fea

Please sign in to comment.