root/buildout/shapely.buildout/trunk/README.txt

Revision 813, 1.4 KB (checked in by dokai, 3 years ago)

Added notes about setting (DY)LD_LIBRARY_PATH.

Line 
1==================
2Shapely - Buildout
3==================
4
5This is a buildout system for Shapely. It is based on zc.buildout.
6
7
8Installation
9------------
10
11 $ svn co http://svn.gispython.org/svn/gispy/buildout/shapely.buildout/trunk shapely.buildout
12 $ python bootstrap.py
13 $ ./bin/buildout
14
15
16Testing
17-------
18
19The test suite is run by::
20
21 $ ./bin/test
22
23Because Shapely uses the GEOS library that is installed within the
24buildout sandbox, you need to tell the system where to find the
25dynamic libraries. Simply edit the ``setenv`` script located in the
26root of the buildout to match your system and run it::
27
28  $ . ./setenv
29
30
31Developing
32----------
33
34The Shapely code is under ``src/Shapely``. It is installed as a
35development egg so any changes made to the source code are immediately
36available for use.
37
38There is a python interpreter available under::
39
40  $ ./bin/python
41
42that has Shapely available for importing and use. You need to setup
43your LD_LIBRARY_PATH first. See the notes about ``setenv`` in the
44``Testing`` section above.
45
46If you're using multiple zc.buildout based buildouts for your
47development, you may wish to share the downloaded eggs and tarballs
48among them to save disk space. To do this create a file::
49
50  ~/.buildout/default.cfg
51
52and put the following there::
53
54  [buildout]
55  eggs = /path/to/shared/egg/container
56  download-directory = /path/to/shared/package/container
57
Note: See TracBrowser for help on using the browser.