Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/pip_install_pypiwin32.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# A GitHub Action to demonstrate pip install pypiwin32 on Windows on Python 3.14t.
# https://github.com/Googulator/pypiwin32 --> https://pypi.org/project/pypiwin32

name: pip_install_pypiwin32
on:
push:
paths:
- '.github/workflows/pip_install_pypiwin32.yml'
pull_request:
paths:
- '.github/workflows/pip_install_pypiwin32.yml'
workflow_dispatch:
jobs:
install_pypiwin32:
strategy:
fail-fast: false
matrix:
python-version: [3.14, 3.14t]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: python3 -m pip install --upgrade pip
- run: pip install pypiwin32
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
build_id_patch = build_id_patch + ".0"
pywin32_version = "%d.%d.%s" % (sys.version_info[0], sys.version_info[1],
build_id_patch)
print(("Building pywin32", pywin32_version))
print("Building pywin32", pywin32_version)

try:
this_file = __file__
Expand Down Expand Up @@ -430,7 +430,7 @@ def run(self):
f.write("%s\n" % build_id)
f.close()
except EnvironmentError as why:
print(("Failed to open '%s': %s" % (ver_fname, why)))
print("Failed to open '%s': %s" % (ver_fname, why))


class build_scintilla(Command):
Expand Down Expand Up @@ -646,7 +646,7 @@ def _copy_mfc(self):
for f in mfc_files:
self.copy_file(os.path.join(mfc_dir, f), target_dir)
except (EnvironmentError, RuntimeError) as exc:
print(("Can't find an installed VC for the MFC DLLs:", exc))
print("Can't find an installed VC for the MFC DLLs:", exc)

def get_ext_filename(self, name):
# The pywintypes and pythoncom extensions have special names
Expand Down Expand Up @@ -775,7 +775,7 @@ def finalize_options(self):
if self.install_dir is None:
installobj = self.distribution.get_command_obj('install')
self.install_dir = installobj.install_lib
print(('Installing data files to %s' % self.install_dir))
print('Installing data files to %s' % self.install_dir)
install_data.finalize_options(self)

# TODO: Find out why these files exist
Expand Down