This module implements both syncronous and async calls
to pip, separating it from the rest of the application. The
syncronous implementation has no dependencies on Moonraker.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Add a POST /server/jsonrpc endpoint that processes jsonrpc
requests from the body. This allows developers familiar with
the JSON-RPC API to use it in places where a websocket is not
desiriable.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
When the parent folder of a web client is a git repo note the specific
directory that contians a .git subdirectory.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
The versions module contains classes that can parse
Python and Git versions, providing methods to access
the version details.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Older versions of virtualenv include their own "site" module
that does not have the "getsitepackages" method. Add
a check to verify its presence before calling it.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>