/[thuban]/branches/WIP-pyshapelib-bramz/libraries/pyprojection/setup.py
ViewVC logotype

Contents of /branches/WIP-pyshapelib-bramz/libraries/pyprojection/setup.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2734 - (show annotations)
Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
File MIME type: text/x-python
File size: 701 byte(s)
made a copy
1
2 import os, os.path
3 from distutils.core import setup, Extension
4
5 PROJ4_PREFIX = "/"
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