diff --git a/pyproject.toml b/pyproject.toml index 960a3d05..c006d671 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,6 @@ exclude = [ ".github", ".gitattributes", ".gitignore", - "windows", ] [tool.hatch.build.targets.sdist] diff --git a/windows/build.bat b/windows/build.bat deleted file mode 100644 index b7ea3f03..00000000 --- a/windows/build.bat +++ /dev/null @@ -1,42 +0,0 @@ -:: Build LinkChecker -:: Copyright (C) 2010-2011 Bastian Kleineidam -:: This program is free software; you can redistribute it and/or modify -:: it under the terms of the GNU General Public License as published by -:: the Free Software Foundation; either version 2 of the License, or -:: (at your option) any later version. -:: -:: This program is distributed in the hope that it will be useful, -:: but WITHOUT ANY WARRANTY; without even the implied warranty of -:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -:: GNU General Public License for more details. -:: -:: You should have received a copy of the GNU General Public License along -:: with this program; if not, write to the Free Software Foundation, Inc., -:: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -@echo off -:: Python version -set PYDIR=C:\Python27 -set PYVER=2.7 - -:: END configuration, no need to change anything below - -:: set platform architecture -for /f "usebackq tokens=*" %%a in (`%PYDIR%\python.exe -c "from distutils.util import get_platform;print get_platform()"`) do set PLATFORM="%%a" - -:: detect compiler -if defined MSSdk ( - :: Microsoft SDK - set COMPILER= - set DISTUTILS_USE_SDK=1 -) else if "%PLATFORM%" == "win32" ( - :: MinGW (only for 32bit platforms) - set COMPILER="-c mingw32" -) else ( - echo "No Microsoft SDK or MinGW compiler detected." - goto :finish -) - -%PYDIR%\python.exe setup.py sdist --manifest-only -%PYDIR%\python.exe setup.py build %COMPILER% - -:finish diff --git a/windows/clean.bat b/windows/clean.bat deleted file mode 100644 index ed991771..00000000 --- a/windows/clean.bat +++ /dev/null @@ -1,20 +0,0 @@ -:: Clean LinkChecker build files -:: Copyright (C) 2010 Bastian Kleineidam -:: This program is free software; you can redistribute it and/or modify -:: it under the terms of the GNU General Public License as published by -:: the Free Software Foundation; either version 2 of the License, or -:: (at your option) any later version. -:: -:: This program is distributed in the hope that it will be useful, -:: but WITHOUT ANY WARRANTY; without even the implied warranty of -:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -:: GNU General Public License for more details. -:: -:: You should have received a copy of the GNU General Public License along -:: with this program; if not, write to the Free Software Foundation, Inc., -:: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -@echo off -set PYDIR=C:\Python27 -%PYDIR%\python.exe setup.py clean --all -del doc\html\lccollection.qhc -del doc\html\lcdoc.qch diff --git a/windows/dist.bat b/windows/dist.bat deleted file mode 100644 index b2c472ef..00000000 --- a/windows/dist.bat +++ /dev/null @@ -1,46 +0,0 @@ -:: Generating the LinkChecker Windows .exe installer -:: Copyright (C) 2010-2011 Bastian Kleineidam -:: This program is free software; you can redistribute it and/or modify -:: it under the terms of the GNU General Public License as published by -:: the Free Software Foundation; either version 2 of the License, or -:: (at your option) any later version. -:: -:: This program is distributed in the hope that it will be useful, -:: but WITHOUT ANY WARRANTY; without even the implied warranty of -:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -:: GNU General Public License for more details. -:: -:: You should have received a copy of the GNU General Public License along -:: with this program; if not, write to the Free Software Foundation, Inc., -:: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -@echo off -set PYDIR=C:\Python27 -set UPX_EXE="C:\Software\upx308w\upx.exe" -set SZ_EXE="C:\Programme\7-Zip\7z.exe" -for /f "usebackq tokens=*" %%a in (`%PYDIR%\python.exe setup.py --version`) do set VERSION="%%a" -set PORTDIR=LinkChecker-%VERSION% - -:: uncomment for skipping portable dist creation -::goto :dist -echo Building portable distribution -set LINKCHECKER_PORTABLE=1 -rd /s /q dist > nul -%PYDIR%\python.exe setup.py py2exe -rd /s /q %PORTDIR% > nul -xcopy /e /i dist %PORTDIR% -del %PORTDIR%\omt.iss -echo Compressing Python libraries and executables -:: skip DLL compression as it causes the GUI not to start -for /r %PORTDIR% %%f in (*.pyd,*.exe) do %UPX_EXE% "%%f" --best -echo Generating portable distribution file -%SZ_EXE% a -mx=9 LinkChecker-%VERSION%-portable.zip %PORTDIR% -rd /s /q %PORTDIR% - -:dist -set LINKCHECKER_PORTABLE=0 -rd /s /q build > nul -call %~dp0\build.bat -rd /s /q dist > nul -%PYDIR%\python.exe setup.py py2exe - -:finish diff --git a/windows/linkchecker.cer b/windows/linkchecker.cer deleted file mode 100644 index 28c89f9d..00000000 --- a/windows/linkchecker.cer +++ /dev/null @@ -1,13 +0,0 @@ -U2FsdGVkX18VPd7+vqUvnsmyNILsof0HovbtQU3zOSRpXzTfRFHq/TLItPa7GC8p -wH/SPfnZR79CzaJrWOJVW9kgvdDzBpYbhqVGN7y/xFkGf/XcOF8VqddkNMHd8PPc -W71gRZmckLJbkCTX3nwJ6nk0fpCC/nPy1MUVULhAtU0nAgH/lDMwadNEGOcOAMg6 -DxGmVN2hp4ph+CFrJjdKk8d2U1yxMr1WEAFzUaL/UlcB5rMWWwl4fnKqmIQBYi7Y -+0ACrGYM1vixD5hfQBAS+ygqmNRtLY/jemf2qiukSzxGzDlUWy0bhCJtw4fNviYM -8/QtTagRUTwzdiVdD/CkGAaOQ59l7YbUqFk/wuZKadpI249xbDERCSH9RQTiHu6B -Nw8+HN3JaXWiy/60u8bJqWOlh54ydUOQQGLgQMFny8dMml3sAvYIpNyU1kYhZm91 -1Psk4fkYzs5HchvIyYtPGSr5ShrMTosE/GX+tQitP0xb5C/KGj9I9hTaa7DEAvmN -gxIjoalvuTuYQhRfZRIorypAHWu+2AjTAIbP03yr3gGwqhIg66SJPKHBN4nbamgM -66wJOnOyEsximot6hxpOHfYymXto7cqNggAnmJkfbZyQA5I5bvBvWNn2T0Z3hb3+ -gIn+iGAJS/iNpptUmXYNbjoGi4OUQuy0ssKdxrT/68Oc1wUgwIsmHMZsx/det5m6 -TThV9qbVn6hw5rHD3wjrGH9pbJE8lVui4yEOU3vYoXqIS8gX9f5NYNh86kkbzwCA -mvNxborVM+zsn7poUsZjJA== diff --git a/windows/linkchecker.pfx b/windows/linkchecker.pfx deleted file mode 100644 index 7ff08cb0..00000000 --- a/windows/linkchecker.pfx +++ /dev/null @@ -1,38 +0,0 @@ -U2FsdGVkX18VPd7+vqUvnqYiX8S5OFQnROTs2NyR8cMovksbu2wg5fQnEu2S54RM -/uK4Dn1hHJcTmyYmmC1L/39dmbq/cLjAHdOpptXOlblReSZOLWaTZv4/mOeTlrQN -2VHQUE6aoMzUdnZhUG9hYRpf/23CKwVety4Y9AxAIEDlpVoiALSZ+8NsDy0frm5g -rkdMmIyA4JGb5IBfOHV0nJFhS4H8v+UA3idQKZPaJgBCKR1nRe/M6X2Rtm3XwYyM -jybRgWLE8UciUcxx+cPs4Sf6IXzxZRUBAzpdJQ9WVMEXX6IhzNfdBcc24eYpYf5m -DQQD+BFSR+dnrOL2VDSpiAFuY0mpw5IXlwrkhFRWSmJGMDjInRqLYDFFLnL4b07P -NcF9C9hR4J3kZuywe4KRSDbo+TazRRbDo27bPFa15dHYnFKj4LoYjd2xARN4ZFGr -ETjbC9/2kIGPZNwHejiVmcuKpEIP+aBYOnPEl/Uiq/+LaFAg3u4IdxNyA5rXlGqp -8Hj98LY+LdD/cuL7kCmJrm4KBB/Elu6wzA1ntNLFbH44+yldwR4BAgdqY/vOJ+Qf -zZZDNMB/ZzUVgkQ4poCy4QP5G0acft//K522sfAJaRS+g1YOgcq0ulECR/lifU+A -OvojlwQQMvs3bCBMzYbUA7I7FtOeAmZZEPZi7XkZNL4cM/JRKbn7i2CpcBg5mxZT -r1g/RTOft34t9UJoyjV/0Afdw4vh4fUQUCx3V2Mu7OwBFpSWX+9QO6vMsDcYKGpk -rwfRpoziCPzOuKQuOTMvbW7q0fBDBJeJRlskDnCD0/c0pqXz5sywalaiiyHxMGPQ -9MnC4TmMXWc6ccH/ZlaF9IVOjlmHFpGT3mHnnCxIz7QltOCd4Aq9H0E1JD1h6XU5 -xYHQcJ6oB9wsilOawROysUzLVGTGfr7ON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-V6dIGNP57IPsS1MORm9oYUJR9D808vLZQpkikHZkwW3k83mvzhJdTsXibg6NHV/U -+jt5PGtu6UDhJDL0RAcdWdYHxV2la+UJaaErDKAE8kE5VXsiUKR0vARAF0oKY8ye -OlJ+rYKKpSc7Xw3pxwUzBybQiddUIy+e+tw3R2GbOScg/9PP5nxet7peFJHvAh+4 -NK8/yNQTpkWrrtS74vBiOVRkINJcPMIUBr7b+Dmf+SDtQBBKFL6e0r4PCGPThOSz -6bMrX4iybJRPdZXXpjjNwlcCfconPqIu0p9mcCUmWou+GX5F3IRfmqNWcgQi3R4z -Aki6Y+7hk9Bfmo8B++SXmT+bQZ3oNL3sNfSey9o6abGX6RPVCfH4YbhFl/h5dprK -tAiMvsRxsb4ozepaOBGpSg== diff --git a/windows/linkchecker.pvk b/windows/linkchecker.pvk deleted file mode 100644 index eb4833fe..00000000 --- a/windows/linkchecker.pvk +++ /dev/null @@ -1,14 +0,0 @@ -U2FsdGVkX18VPd7+vqUvnsuA3PSHUMCykNbW4yCCWkawFkvJ3giYPK0/U4HpcaZ/ -67tLOsJVM8vMh0FaxABfY827SC+9PQE96u7ACEqMDb1Oe/j+AU4RH2m4S6YLNw34 -S3iCDmt0lO0jlT3ESRuRZBpfFzri17bQyUN6Hs83oMI7pCPBMRx5F4+9DZSACRZF -ZrqYJ329XUpWWiproASprPF0sN22EsfomrBTULu8b6uHOUYcx0m0nuLLcr6AwxHR -fY5Nh9aM7c/kgQ8sFjVbH5ditpZI0iZ4OBJ8ck3Q8pPwUE7iXjMCresS3wKq1X+X -sW5/6ImvCT/HneUo4mKJ0jpS312dSO8UrqU7g+VGCYMJsx3mMLGT56gWTYS51SJX -WndeLr8Gqw+CdD6webVNs1SXWFVEvzJo593nfENPKUu1aD4XQZ+34HHRK1U0m1QP -MyhXxaEvm5+2yBfh+ZuWfZzRAXSRGiwGlQJNBr7YD/THEfNSFd74PB8JCwIgCHD+ -/yd7GWtN9D8/kWya6Eng3uwmhWUNTPCDuTFu/ccMQhO/JnK+ca0GgtQMviqibIuX -WmNf1Fjc0lm6V6w8NOWv0JAZJA42rQ/1tdqDoI/OueoF7kexQADzketC8xxHL+zz -a0YZysi3a4NWzU/J+q1089I9tJVXfIPqxinTN4JCpPTjVQDMp/DdFHeYBGNOTheX -kGQMVyunuFJ/kuocYc4IP2kQRtyEpbtvNZ692t+M+ZLVKCyiJSD5d/t8NpVzatXU -0/nBNHQ+RvQQuRx4JIHmPYln8/KwuAVb/Gs7Fpg0O3/qCMrsyqs4POKKvnoZz8LB -R58+x9PdKJTYHNIbbTCVHiEzzFFxaEIjqQrfWHFsvYU= diff --git a/windows/makecert.bat b/windows/makecert.bat deleted file mode 100644 index 3402bf74..00000000 --- a/windows/makecert.bat +++ /dev/null @@ -1,6 +0,0 @@ -U2FsdGVkX18VPd7+vqUvnikE8SRvvKmPQK473tRM0Y4Ym3//yqZZiLa5nSInTQTb -QAbPPB+XfyOQAoeq3ak4yFenE0kJtEa/yQ4pVO8foKXIgF/xSRDjok/bnOU6TQP7 -L23EZRtTq8SWxwnZknLo5gCF/ZKZIZ0V5BHN+jbiSzsfarOqCdqNCK1UaFC3LLLA -y0ydsdcdAfdzAgPbh5Zh250wu92h5iYmy0Wyczw6UEgIwuX1On9OHkTkjggxg8nR -4uLn1KRce0lndS0f6gz2LmkF+RHSN2Ok9mBl9UU0sheDElLksRHKzmFt4Woyg6NY -tYjrilZp6qczneVXk7WnADjDbZ+WUOsKqxsu6MJu+zA= diff --git a/windows/makelccert.bat b/windows/makelccert.bat deleted file mode 100644 index d6b156e6..00000000 --- a/windows/makelccert.bat +++ /dev/null @@ -1,4 +0,0 @@ -:: File to generate a code signing certificate for LinkChecker -:: Needs makecert.exe and pkv2pfx.exe installed in the PATH -makecert -r -pe -n "CN=LinkChecker certificate" -b 01/01/2011 -e 01/01/2021 -eku 1.3.6.1.5.5.7.3.3 -sv linkchecker.pvk linkchecker.cer -pvk2pfx -pvk linkchecker.pvk -spc linkchecker.cer -pfx linkchecker.pfx diff --git a/windows/test.bat b/windows/test.bat deleted file mode 100644 index e108d066..00000000 --- a/windows/test.bat +++ /dev/null @@ -1,18 +0,0 @@ -:: Run LinkChecker test suite -:: Copyright (C) 2010,2014 Bastian Kleineidam -:: This program is free software; you can redistribute it and/or modify -:: it under the terms of the GNU General Public License as published by -:: the Free Software Foundation; either version 2 of the License, or -:: (at your option) any later version. -:: -:: This program is distributed in the hope that it will be useful, -:: but WITHOUT ANY WARRANTY; without even the implied warranty of -:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -:: GNU General Public License for more details. -:: -:: You should have received a copy of the GNU General Public License along -:: with this program; if not, write to the Free Software Foundation, Inc., -:: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -@echo off -set PYDIR=C:\Python27 -%PYDIR%\python.exe -m pytest --resultlog=testresults.txt tests