blob: 3565bda93379f429dbd01a0719ad236b318b125a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// Created by jhunk on 5/14/23.
//
#ifndef OMC_CONDA_H
#define OMC_CONDA_H
#include <stdio.h>
#include <string.h>
#include "omc.h"
#define CONDA_INSTALL_PREFIX "conda"
int python_exec(const char *args);
int pip_exec(const char *args);
int conda_exec(const char *args);
int conda_activate(const char *root, const char *env_name);
void conda_setup_headless();
int conda_env_create_from_uri(char *name, char *uri);
int conda_env_create(char *name, char *python_version, char *packages);
int conda_env_remove(char *name);
int conda_env_export(char *name, char *output_dir, char *output_filename);
int conda_index(const char *path);
#endif //OMC_CONDA_H
|