From 4e54190b40cb1ff1a2a891114bb7d3e3fe67fe80 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Fri, 1 Mar 2013 20:12:01 +0000 Subject: - 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 --- x11-toolkits/py-tkinter/files/setup3.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11-toolkits/py-tkinter/files/setup3.py') 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, -- cgit v1.2.3