aboutsummaryrefslogtreecommitdiff
path: root/include/conda.h
blob: bc74b941002a5f745e135dcce90a2a49445914ec (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();
void conda_env_create_from_uri(char *name, char *uri);
void conda_env_create(char *name, char *python_version, char *packages);
void conda_env_remove(char *name);
void conda_env_export(char *name, char *output_dir, char *output_filename);
int conda_index(const char *path);
#endif //OMC_CONDA_H