Skip to content

Commit

Permalink
Removed CHM help build/dist
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Oct 16, 2023
1 parent 28d71cb commit 2109ada
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ pylint_report.txt

# Sphinx documentation
docs/build/
plotpy.chm

# Generated cython c file
src/contour2d.c
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test = ["pytest", "pytest-cov", "pytest-qt", "pytest-xvfb"]
include = ["plotpy*"]

[tool.setuptools.package-data]
"*" = ["*.png", "*.svg", "*.mo", "*.chm", "*.cfg", "*.toml", "*.dcm", "*.ui"]
"*" = ["*.png", "*.svg", "*.mo", "*.cfg", "*.toml", "*.dcm", "*.ui"]

[tool.setuptools.dynamic]
version = { attr = "plotpy.__version__" }
5 changes: 1 addition & 4 deletions scripts/build_doc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ call %FUNC% SetPythonPath
call %FUNC% UsePython
cd %SCRIPTPATH%\..
%PYTHON% doc\update_requirements.py
set PATH=C:\Program Files\HTML Help Workshop;C:\Program Files (x86)\HTML Help Workshop;%PATH%
sphinx-build -b htmlhelp doc build\doc
hhc build\doc\%LIBNAME%.hhp
copy build\doc\*.chm %MODNAME%
sphinx-build -b html doc build\doc
start build\doc\index.html
call %FUNC% EndOfScript
1 change: 1 addition & 0 deletions scripts/clean_up.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cd %SCRIPTPATH%\..\

@REM Removing files/directories related to Python/doc build process
if exist %LIBNAME%.egg-info ( rmdir /s /q %LIBNAME%.egg-info )
if exist %LIBNAME%\%LIBNAME%.chm ( del /q %LIBNAME%\%LIBNAME%.chm )
if exist MANIFEST ( del /q MANIFEST )
if exist build ( rmdir /s /q build )
if exist dist ( rmdir /s /q dist )
Expand Down

0 comments on commit 2109ada

Please sign in to comment.