-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
27 lines (17 loc) · 931 Bytes
/
README
File metadata and controls
27 lines (17 loc) · 931 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
renderlib-python
================
Python wrappers for `renderlib` C library.
# Installation
The package requires that `renderlib` and `matlib` libraries and headers are
installed somewhere in the system so that during installation it could compile
and link against them.
If dependencies are installed in a standard path which is looked up by C
compiler (`/usr/include` and `/usr/lib` respectively on UNIX systems, for
example), it should suffice to do:
pip install renderlib
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/renderlib/include/renderlib -I/opt/matlib/include" LDFLAGS="-L/opt/renderlib/lib -L/opt/matlib/lib" pip install renderlib
# Bash
CFLAGS="-I/opt/renderlib/include/renderlib -I/opt/matlib/include" LDFLAGS="-L/opt/renderlib/lib -L/opt/matlib/lib" pip install renderlib