/[thuban]/trunk/thuban/extensions/pyprojection/setup.py
ViewVC logotype

Annotation of /trunk/thuban/extensions/pyprojection/setup.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88 - (hide annotations)
Thu Apr 4 14:22:40 2002 UTC (22 years, 11 months ago) by bh
File MIME type: text/x-python
File size: 701 byte(s)
(PROJ4_PREFIX): Just use /

1 bh 6
2     import os, os.path
3     from distutils.core import setup, Extension
4    
5 bh 88 PROJ4_PREFIX = "/"
6 bh 6 PROJ4_INCLUDE = os.path.join(PROJ4_PREFIX, "usr/local/include")
7     PROJ4_LIB = os.path.join(PROJ4_PREFIX, "usr/local/lib")
8    
9     extensions = [Extension("Projectionc",
10     ["Projection_wrap.c"],
11     include_dirs = [PROJ4_INCLUDE],
12     library_dirs = [PROJ4_LIB],
13     libraries = ["proj"])]
14    
15     setup(name = "py-Projection",
16     version = "0.1",
17     description = "Python bindings for PROJ.4",
18     author = "Douglas K. Rand",
19     author_email = "[email protected]",
20     py_modules = ["Projection"],
21     ext_modules = extensions)
22    

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26