Skip to content

Commit

Permalink
Revert adding pywin32_testall as script (it wasn't meant to be shippe…
Browse files Browse the repository at this point in the history
…d. Use with source only)
  • Loading branch information
Avasam committed Dec 13, 2024
1 parent 31eb27c commit 2bda609
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Run tests
# Run the tests directly from the source dir so support files (eg, .wav files etc)
# can be found - they aren't installed into the Python tree.
run: python -m win32.scripts.pywin32_testall -v -skip-adodbapi
run: python pywin32_testall -v -skip-adodbapi

- name: Build wheels
run: pip wheel . -v --wheel-dir=dist
Expand Down Expand Up @@ -126,7 +126,8 @@ jobs:
with:
version: "0.4.9"
args: "format --check"
- run: | # Too many files to fit in a single command, also exclude vendored Scintilla and MAPIStubLibrary
- run:
| # Too many files to fit in a single command, also exclude vendored Scintilla and MAPIStubLibrary
clang-format --Werror --dry-run $(git ls-files '*.cpp')
clang-format --Werror --dry-run $(git ls-files '*.h' ':!:Pythonwin/Scintilla/' ':!:com/win32comext/mapi/src/MAPIStubLibrary/')

Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2111,13 +2111,11 @@ def convert_optional_data_files(files):
# This adds the scripts under Python3XX/Scripts, but doesn't actually do much
scripts=[
"win32/scripts/pywin32_postinstall.py",
"win32/scripts/pywin32_testall.py",
],
# This shortcuts `python -m win32.scripts.some_script` to just `some_script`
entry_points={
"console_scripts": [
"pywin32_postinstall = win32.scripts.pywin32_postinstall:main",
"pywin32_testall = win32.scripts.pywin32_testall:main",
]
},
ext_modules=ext_modules,
Expand Down

0 comments on commit 2bda609

Please sign in to comment.