STASIS
A pipeline delivery generator
Loading...
Searching...
No Matches
wheelinfo.h
1
2#ifndef STASIS_WHEEL_H
3#define STASIS_WHEEL_H
4
5#include <dirent.h>
6#include <string.h>
7#include <stdio.h>
8#include "str.h"
9#define WHEEL_MATCH_EXACT 0
10#define WHEEL_MATCH_ANY 1
11
12struct WheelInfo {
14 char *version;
15 char *build_tag;
16 char *python_tag;
17 char *abi_tag;
19 char *path_name;
20 char *file_name;
21};
22
34struct WheelInfo *wheelinfo_get(const char *basepath, const char *name, char *to_match[], unsigned match_mode);
35void wheelinfo_free(struct WheelInfo **wheel);
36#endif //STASIS_WHEEL_H
Definition wheelinfo.h:12
char * distribution
Package name.
Definition wheelinfo.h:13
char * build_tag
Package build tag (optional)
Definition wheelinfo.h:15
char * path_name
Path to package on-disk.
Definition wheelinfo.h:19
char * version
Package version.
Definition wheelinfo.h:14
char * python_tag
Package Python tag (pyXY)
Definition wheelinfo.h:16
char * file_name
Name of package on-disk.
Definition wheelinfo.h:20
char * platform_tag
Package platform tag (linux_x86_64, any)
Definition wheelinfo.h:18
char * abi_tag
Package ABI tag (cpXY, abiX, none)
Definition wheelinfo.h:17