Building
- Ensure you have java 1.8 Enter in Command Prompt
java -version
if not get it here
https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
-
Download Tika (if you need to parse pdfs)
https://www.apache.org/dyn/closer.cgi/tika/2.0.0-BETA/tika-2.0.0-BETA-src.zip
Extract the contents in the Java/bin directory on your system (eg. C:\Program Files(x86)\Java\bin). -
Set the server path
Enter in Command Prompt
set TIKA_SERVER_JAR="file:////tika-server.jar"
- Build the Qt Application
If you are on Windows get the pre-build application here
https://drive.google.com/file/d/1vyydbRU38qOSFUknkJ3Bf748e-qiJA1v/view?usp=sharing
Else build it with pyinstaller
pyinstaller
pip3 install pyinstaller
pyinstaller --onefile --windowed --icon=sitemapLogo.ico --name=SiteMap.exe --hidden-import=lxml
--hidden-import=simplekml --hidden-import=tika -c cli.py
Dev Dependencies
- python3
- pip3
- pyinstaller
pip3 install pyinstaller
- PyQt5
pip3 install pyqt5
- simplekml
pip3 install simplekml
- lxml
pip3 install lxml
- tika
pip3 install tika