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 038e3b3 commit e234b60
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
.spyproject
qwt-6.*
qwt/tests/demo.png
PythonQwt.chm
PythonQwt.chm.zip
doc.zip
doctmp/

Expand Down
7 changes: 1 addition & 6 deletions scripts/build_doc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ call %FUNC% GetLibName LIBNAME
call %FUNC% GetModName MODNAME
call %FUNC% SetPythonPath
call %FUNC% UsePython
set PATH=C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip;C:\Program Files\HTML Help Workshop;C:\Program Files (x86)\HTML Help Workshop;%PATH%
cd %SCRIPTPATH%\..\
if exist build\doc ( rmdir /s /q build\doc )
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 @@ -12,6 +12,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
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

import os
import os.path as osp
from distutils.core import setup

import setuptools # analysis:ignore
from distutils.core import setup

LIBNAME = "PythonQwt"
PACKAGE_NAME = "qwt"
Expand Down Expand Up @@ -106,7 +106,7 @@ def get_subpackages(name):
long_description=LONG_DESCRIPTION,
packages=get_subpackages(PACKAGE_NAME),
package_data={
PACKAGE_NAME: get_package_data(PACKAGE_NAME, (".png", ".svg", ".mo", ".chm"))
PACKAGE_NAME: get_package_data(PACKAGE_NAME, (".png", ".svg", ".mo"))
},
install_requires=["NumPy>=1.5", "QtPy>=1.3"],
extras_require={
Expand Down

0 comments on commit e234b60

Please sign in to comment.