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 /x11-toolkits/py-tkinter/files/setup3.py | |
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 'x11-toolkits/py-tkinter/files/setup3.py')
-rw-r--r-- | x11-toolkits/py-tkinter/files/setup3.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/py-tkinter/files/setup3.py b/x11-toolkits/py-tkinter/files/setup3.py index 25c3bbc672f2..7b672a053eb0 100644 --- a/x11-toolkits/py-tkinter/files/setup3.py +++ b/x11-toolkits/py-tkinter/files/setup3.py @@ -15,6 +15,8 @@ try: except: raise SystemExit("Distutils problem") +install.sub_commands = [x for x in install.sub_commands if 'egg' not in x[0]] + tkversion = "%%TK_VER%%" prefix = sysconfig.PREFIX # Python 1.5 doesn't have os.getenv()? @@ -31,7 +33,7 @@ libs = ["tcl" + tkversion.replace(".", ""), setup(name = "Tkinter", description = "Tk Extension to Python", - + ext_modules = [Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'], define_macros=[('WITH_APPINIT', 1)], include_dirs = inc_dirs, |