LibraryBuilder: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
Tag: New redirect
(Replaced content with "#REDIRECT External_libraries_and_dependencies#Library_Builder")
Tag: Replaced
 
Line 1: Line 1:
#REDIRECT [[External_libraries_and_dependencies#Library_Builder]]
#REDIRECT [[External_libraries_and_dependencies#Library_Builder]]
The LibraryBuilder is a tool to simplify the packaging of additional python modules to be used with SweepMe! components.
This tool ensures that
* all necessary files for the python module are included
* indirect dependencies of the module are included
* duplicate packages that are already contained within SweepMe! are removed
== Requirements ==
Install Python 3.6 (i.e. same version as used by SweepMe!) with:
* all packages installed you need for your Device Class
* pyinstaller 3.3.1 [https://pypi.org/project/PyInstaller/3.3.1/] (newer versions will not work)
== Extracting the missing packages  ==
# Goto LibraryBuilder folder
# Open build_library.py and change '''sweepme_path''' to your installation path of SweepMe!
# Open required_modules.py and import all packages which are missing in SweepMe!
# Run build_library.py
# Copy the folder libs_required_modules to your DC and rename as desired
# Do not forget to add licence files for each package that has been added

Latest revision as of 14:41, 11 June 2020