Make setup not to install an egg info file which isn't needed for

standard modules.
This commit is contained in:
Hye-Shik Chang 2006-08-07 02:23:05 +00:00
parent efe02823d7
commit f0f91e6954
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169882
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= sqlite3
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}

View file

@ -13,6 +13,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", "Modules/_sqlite"]
lib_dirs = [prefix + "/lib"]