Fix: Build wheel package for Win32 (using MSVC 2015+) (#29)

This commit is contained in:
Oleg S
2023-03-11 15:06:52 +03:00
committed by GitHub
parent da15222f1b
commit aa2604c531
2 changed files with 11 additions and 0 deletions

10
build-win32.cmd Normal file
View File

@@ -0,0 +1,10 @@
@echo off
:: set PATH=d:\python\python38-32;d:\python\python38-32\Scripts;%PATH%
rmdir /s /q build
rmdir /s /q dist
python setup.py sdist
python setup.py build_ext
python setup.py bdist_wheel

View File

@@ -124,5 +124,6 @@ class build_libuv(build_ext):
self.compiler.add_library('user32')
self.compiler.add_library('userenv')
self.compiler.add_library('ws2_32')
self.compiler.add_library('secur32')
build_ext.build_extensions(self)