Skip to content

Commit e234b60

Browse files
committed
Removed CHM help build/dist
1 parent 038e3b3 commit e234b60

4 files changed

Lines changed: 4 additions & 10 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
.spyproject
33
qwt-6.*
44
qwt/tests/demo.png
5-
PythonQwt.chm
6-
PythonQwt.chm.zip
75
doc.zip
86
doctmp/
97

scripts/build_doc.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ call %FUNC% GetLibName LIBNAME
1111
call %FUNC% GetModName MODNAME
1212
call %FUNC% SetPythonPath
1313
call %FUNC% UsePython
14-
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%
15-
cd %SCRIPTPATH%\..\
16-
if exist build\doc ( rmdir /s /q build\doc )
17-
sphinx-build -b htmlhelp doc build\doc
18-
hhc build\doc\%LIBNAME%.hhp
19-
copy build\doc\*.chm %MODNAME%
2014
sphinx-build -b html doc build\doc
15+
start build\doc\index.html
2116
call %FUNC% EndOfScript

scripts/clean_up.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ cd %SCRIPTPATH%\..\
1212

1313
@REM Removing files/directories related to Python/doc build process
1414
if exist %LIBNAME%.egg-info ( rmdir /s /q %LIBNAME%.egg-info )
15+
if exist %LIBNAME%\%LIBNAME%.chm ( del /q %LIBNAME%\%LIBNAME%.chm )
1516
if exist MANIFEST ( del /q MANIFEST )
1617
if exist build ( rmdir /s /q build )
1718
if exist dist ( rmdir /s /q dist )

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
import os
1515
import os.path as osp
16+
from distutils.core import setup
1617

1718
import setuptools # analysis:ignore
18-
from distutils.core import setup
1919

2020
LIBNAME = "PythonQwt"
2121
PACKAGE_NAME = "qwt"
@@ -106,7 +106,7 @@ def get_subpackages(name):
106106
long_description=LONG_DESCRIPTION,
107107
packages=get_subpackages(PACKAGE_NAME),
108108
package_data={
109-
PACKAGE_NAME: get_package_data(PACKAGE_NAME, (".png", ".svg", ".mo", ".chm"))
109+
PACKAGE_NAME: get_package_data(PACKAGE_NAME, (".png", ".svg", ".mo"))
110110
},
111111
install_requires=["NumPy>=1.5", "QtPy>=1.3"],
112112
extras_require={

0 commit comments

Comments
 (0)