Difference between revisions of "Projects:Badge/woezel"

From SHA2017 Wiki
Jump to: navigation, search
(Issues)
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
=woezel=
 
=woezel=
  
woezel is a variant on pip used to install badge software.
+
woezel is a variant on [https://pip.pypa.io/en/stable/ pip] used to install badge software.
  
 
You'll probably never need to use this, since software can be installed from the [[Projects:Badge/Hatchery|Hatchery]] using a graphical tool.  
 
You'll probably never need to use this, since software can be installed from the [[Projects:Badge/Hatchery|Hatchery]] using a graphical tool.  
  
 +
==Note==
 +
 +
woezel checks for versions and in contrary to <code>upip</code> won't always overwrite installed app, each app is installed in its own folder in <code>/lib/</code>
 +
 +
Don't store application data in the application folder, before updating woezel deletes all files from the application folder!
 +
 +
==Basic use==
 
  <nowiki>import woezel
 
  <nowiki>import woezel
 
woezel.install('test')
 
woezel.install('test')
 
woezel.search()
 
woezel.search()
woeze.search('test')</nowiki>
+
woezel.search('test')</nowiki>
  
Advanced:
+
==Advanced==
 
  <nowiki>woezel.install(name, path, force_reinstall)</nowiki>
 
  <nowiki>woezel.install(name, path, force_reinstall)</nowiki>
 
[[File:Seymour.png|400px|frameless|right]]
 
[[File:Seymour.png|400px|frameless|right]]
 
Example:
 
Example:
 
  <nowiki>woezel.install('game_of_life', None, True)</nowiki>
 
  <nowiki>woezel.install('game_of_life', None, True)</nowiki>

Latest revision as of 14:06, 12 August 2017

Badge Badge project - Documentation - Github - Sponsorship - Organisation

woezel

woezel is a variant on pip used to install badge software.

You'll probably never need to use this, since software can be installed from the Hatchery using a graphical tool.

Note

woezel checks for versions and in contrary to upip won't always overwrite installed app, each app is installed in its own folder in /lib/

Don't store application data in the application folder, before updating woezel deletes all files from the application folder!

Basic use

import woezel
woezel.install('test')
woezel.search()
woezel.search('test')

Advanced

woezel.install(name, path, force_reinstall)
Seymour.png

Example:

woezel.install('game_of_life', None, True)