Difference between revisions of "Projects:Badge/woezel"

From SHA2017 Wiki
Jump to: navigation, search
(woezel)
(Issues)
 
(9 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 (soon) 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')</nowiki>
+
woezel.install('test')
 +
woezel.search()
 +
woezel.search('test')</nowiki>
 +
 
 +
==Advanced==
 +
<nowiki>woezel.install(name, path, force_reinstall)</nowiki>
 +
[[File:Seymour.png|400px|frameless|right]]
 +
Example:
 +
<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)