aboutsummaryrefslogtreecommitdiff
path: root/include/conda.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-10-26 19:53:29 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-10-26 19:53:29 -0400
commit17178535cc9df5e834dfd43e3b2b919e02e5798d (patch)
tree5e55e8b2c2453ccf6271b190cf45e90d2c25179d /include/conda.h
downloadstasis-17178535cc9df5e834dfd43e3b2b919e02e5798d.tar.gz
Initial commit
Diffstat (limited to 'include/conda.h')
-rw-r--r--include/conda.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/conda.h b/include/conda.h
new file mode 100644
index 0000000..a642702
--- /dev/null
+++ b/include/conda.h
@@ -0,0 +1,23 @@
+//
+// Created by jhunk on 5/14/23.
+//
+
+#ifndef OHMYCAL_CONDA_H
+#define OHMYCAL_CONDA_H
+
+#include <stdio.h>
+#include <string.h>
+#include "ohmycal.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_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 //OHMYCAL_CONDA_H