File: README

package info (click to toggle)
mgltools-pyglf 1.5.7-3
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye, buster, sid
  • size: 1,868 kB
  • sloc: ansic: 1,804; python: 153; sh: 78; makefile: 14
file content (27 lines) | stat: -rw-r--r-- 888 bytes parent folder | download | duplicates (4)
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
27
This package contains a Distutils interface for building GLF Python 
extension and creating a source distribution.
GLF is multiplatforming library for displaying text in OpenGL (see ./src/readme.txt)

SWIG (version 1.3.21 or higher) is used for generating a C wrapper code
(can be downloaded from www.swig.org).

To build and install the extension:
	python setup.py install
This creates glf.py (python shadow classes) and
_glf.so  in build/lib.<platform_specifier>/pyglf . 

The pyglf package is then installed in 
sys.exec_prefix/lib/python`Version`/site-packages (default location)
.
To specify the install directory use --install-platlib option:

	python setup.py install --install-platlib=INSTALL_DIR

To build the extension only:
	pythonsetup.py build
this will build GLF python extension in build/lib.<platform_specifier>/pyglf.

To build the distribution:
	python setup.py sdist