Skip to content

Commit 17d7e15

Browse files
authored
Python 3.10 release (VirusTotal#198)
* Build for Python 3.10 * Update build command bdist_wininst was deprecated in python 3.8 (and removed in python 3.10) and bdist_msi was deprecated in python3.9
1 parent 7e19b74 commit 17d7e15

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

appveyor.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ environment:
7272
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/q63539qt9yqaqspo/artifacts/YARA.OpenSSL.x64.1.1.1.nupkg"
7373
VS: "Visual Studio 14 2015 Win64"
7474

75+
- PYTHON: "C:\\Python310"
76+
PYTHON_VERSION: "3.10.0"
77+
PYTHON_ARCH: "32"
78+
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/fakubeldw67e9pmg/artifacts/YARA.OpenSSL.x86.1.1.1.nupkg"
79+
VS: "Visual Studio 14 2015"
80+
81+
- PYTHON: "C:\\Python10-x64"
82+
PYTHON_VERSION: "3.10.0"
83+
PYTHON_ARCH: "64"
84+
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/q63539qt9yqaqspo/artifacts/YARA.OpenSSL.x64.1.1.1.nupkg"
85+
VS: "Visual Studio 14 2015 Win64"
86+
7587
install:
7688
# If there is a newer build queued for the same PR, cancel this one.
7789
# The AppVeyor 'rollout builds' option is supposed to serve the same
@@ -155,8 +167,7 @@ test_script:
155167
after_test:
156168
# If tests are successful, create binary packages for the project.
157169
- "%CMD_IN_ENV% python setup.py bdist_wheel"
158-
- "%CMD_IN_ENV% python setup.py bdist_wininst"
159-
- "%CMD_IN_ENV% python setup.py bdist_msi"
170+
- "%CMD_IN_ENV% python setup.py bdist --format=msi"
160171

161172
artifacts:
162173
# Archive the generated packages in the ci.appveyor.com build report.

0 commit comments

Comments
 (0)