13 #ifndef mitkPipPackageInfo_h
14 #define mitkPipPackageInfo_h
18 #include <nlohmann/json_fwd.hpp>
41 bool requested =
false;
92 bool optional =
false;
106 bool upgradePipFirst =
true;
#define MITKPYTHONINSTALLER_EXPORT
Find image slices visible on a given plane.
void from_json(const nlohmann::json &, GenericLookupTable< T > &)
Deserialize a GenericLookupTable from JSON.
PackageStatus
Status of a single package during installation.
void to_json(nlohmann::json &j, const GenericLookupTable< T > &t)
Serialize a GenericLookupTable to JSON.
A set of packages that share the same pip options.
PipInstallGroup(std::initializer_list< std::string > requirements)
std::vector< std::string > extraPipArgs
PipInstallGroup()=default
std::vector< std::string > requirements
Full specification for a pip installation run.
std::vector< PostInstallStep > postInstallSteps
std::vector< PipInstallGroup > groups
static PipInstallSpec FromResource(const std::string &resourcePath)
Load a PipInstallSpec from a Qt resource path.
void SaveToFile(const std::string &path) const
Save this PipInstallSpec to a JSON file.
static PipInstallSpec FromFile(const std::string &path)
Load a PipInstallSpec from a JSON file.
Describes a single resolved pip package.
A Python command to run in the activated venv after pip install.