Deleting the wiki page 'Installation' cannot be undone. Continue?
.whl
package from under dist/
pip3 install lizard-0.<VERSION HERE>-py3-none-any.whl
This will also upgrade to a newer version if you have an older version installed.
To uninstall, you can do pip uninstall lizard
.
Python is supposed to be cross platform, so you should be able to pip install
it anywhere. However I have no idea how it will behave outside Linux, since I haven’t had a chance to try it. I also don’t know where the lizard_data
directory will end up - I use the home folder which is well-defined on Linux but on other OSes it is sometimes complicated where that is.
If you’ve been using Lizard for a while and are upgrading to a new release, be very careful with your local data. When a new version changes the database code or how local files are stored, it could fail to read your old shit and even corrupt it. I try to note this somewhere when it happens, but I may forget or you may not see the announcement. If in doubt, backup everything (all of Lizard’s data is stored under ~/lizard_data/
) before trying the new version.
If you know for sure that a version breaks backwards compatibility, you have the following options:
lizard e
in your old lizard, save the resulting file, install the new version and then re-construct your watch list by running the exported commands. If you had any unseen replies or something you might lose those, so I’d check first with lizard r
and lizard l
. It might also re-download the old files if I changed where the files are stored. If you can figure out where they are supposed to go you can copy them over to avoid the re-downloading.You can also run the .py
files in the repo directly. If you want to do this I’m assuming you have enough proficiency with Python to figure it out. FYI, I use PyCharm to develop so might be easier to get it to work that way.
build.sh
will build a .whl
file and also clean up the build dirs for you.
Deleting the wiki page 'Installation' cannot be undone. Continue?