-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
27 lines (17 loc) · 776 Bytes
/
README
File metadata and controls
27 lines (17 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
matlib-python
=============
Python wrappers for `matlib` C library.
# Installation
The package requires that a `matlib` library and header files are installed
somewhere in the system so that during installation it could compile and link
against it.
If `matlib` is installed in a standard path which is looked up by C compiler
(`/usr/include` and `/user/lib` respectively on UNIX systems, for example), it
should suffice to do:
pip install matlib
Otherwise, compiler options must be passed as environment variables so that the
wrapper builds and links properly, GCC/CLang example:
# Fish
env CFLAGS=-I/opt/matlib/include LDFLAGS=-L/opt/matlib/lib pip install matlib
# Bash
CFLAGS=-I/opt/matlib/include LDFLAGS=-L/opt/matlib/lib pip install matlib