diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2013-03-01 20:12:01 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2013-03-01 20:12:01 +0000 |
commit | 4e54190b40cb1ff1a2a891114bb7d3e3fe67fe80 (patch) | |
tree | 9e4d3fe5352ce6de3984761a86925f44ac9e3e62 /databases/py-bsddb/files | |
parent | - Update to 1.503 (diff) |
- Install standard libraries separated as other ports to the same place
with other standard libraries (${PYTHON_LIBDIR}/lib-dynload)
- Improve consistency of the Makefile(s)
- Whitespace cleanup for the patches
Notes
Notes:
svn path=/head/; revision=313167
Diffstat (limited to 'databases/py-bsddb/files')
-rw-r--r-- | databases/py-bsddb/files/setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/py-bsddb/files/setup.py b/databases/py-bsddb/files/setup.py index 6878938bb2d7..3f2f606dca31 100644 --- a/databases/py-bsddb/files/setup.py +++ b/databases/py-bsddb/files/setup.py @@ -14,6 +14,9 @@ try: except: raise SystemExit, "Distutils problem" +install.sub_commands = filter(lambda (cmd, avl): 'egg' not in cmd, + install.sub_commands) + prefix = sysconfig.PREFIX inc_dirs = [prefix + "/include"] lib_dirs = [prefix + "/lib"] @@ -21,7 +24,7 @@ libs = [os.environ['BSDDB_VERSION']] setup(name = "_bsddb", description = "BSDDB Extension to Python", - + ext_modules = [Extension('_bsddb', ['_bsddb.c'], include_dirs = inc_dirs, libraries = libs, |