-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix publishing documentation #2384
base: main
Are you sure you want to change the base?
Changes from all commits
63f730c
166e7a1
f2f0f0e
34df49c
906bc46
e90a20e
4e8bc34
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,13 @@ jobs: | |
run: | | ||
python setup.py install --user | ||
|
||
# This needs to happen *after* installing pywin32 since | ||
# AutoDuck/py2d.py currently relies on runtime imports for introspection | ||
# This isn't included in the wheel (TODO: could we?) | ||
# and only servces as a PR test for the docs.yaml workflow | ||
- name: Generate PyWin32.chm help file | ||
run: python AutoDuck/make.py | ||
|
||
Comment on lines
+46
to
+52
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we merged both workflows, we could push these as artifacts, then no need to download from PyPI |
||
- 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. | ||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -1,13 +1,12 @@ | ||||||||||
# Common AutoDuck make file | ||||||||||
|
||||||||||
AD = bin\autoduck.exe /Spythonwin.fmt | ||||||||||
AD = bin\autoduck.exe /Spythonwin.fmt | ||||||||||
ADHTMLFMT = bin\autoduck.exe /Spyhtml.fmt | ||||||||||
ADHTMLLOG = /R html "/L$(GENDIR)\$(TARGET).HHLOG" /N | ||||||||||
ADLOG = /R help "/L$(GENDIR)\$(TARGET).HLOG" /N | ||||||||||
ADHTML = /R html "/G$(GENDIR)\$(TARGET).DUMP" "/C$(GENDIR)\$(TARGET).HHLOG" "/I$(GENDIR)\$(TARGET).IDX" "/O$(GENDIR)\$(TARGET).HTML" /D "title=$(TITLE)" | ||||||||||
ADHLP = /R help "/C$(GENDIR)\$(TARGET).HLOG" "/O$(GENDIR)\$(TARGET).RTF" /D "title=$(TITLE)" | ||||||||||
ADDOC = /RD "/O$(GENDIR)\$(TARGET).DOC" /D "doc_header=$(DOCHDR)" | ||||||||||
ADTAB = 8 | ||||||||||
HC = hcw /a /c /e | ||||||||||
HHC = hhc | ||||||||||
PYTHON = py -2.7 | ||||||||||
ADLOG = /R help "/L$(GENDIR)\$(TARGET).HLOG" /N | ||||||||||
ADHTML = /R html "/G$(GENDIR)\$(TARGET).DUMP" "/C$(GENDIR)\$(TARGET).HHLOG" "/I$(GENDIR)\$(TARGET).IDX" "/O$(GENDIR)\$(TARGET).HTML" /D "title=$(TITLE)" | ||||||||||
ADHLP = /R help "/C$(GENDIR)\$(TARGET).HLOG" "/O$(GENDIR)\$(TARGET).RTF" /D "title=$(TITLE)" | ||||||||||
ADDOC = /RD "/O$(GENDIR)\$(TARGET).DOC" /D "doc_header=$(DOCHDR)" | ||||||||||
ADTAB = 8 | ||||||||||
HC = hcw /a /c /e | ||||||||||
HHC = hhc | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you still want this to be runnable w/o the python script, I think this should work to add a default executable location:
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this for the sake of testing in my PR, but if we keep this we wouldn't need to add a test in
.github/workflows/main.yml