Fix three PyChecker-detected gotchas.
[python/dscho.git] / Misc / RPM / Tkinter / setup.py
blob78cb4a8426c7222c8dc0e20e4e49d7d30c5db4c1
1 #! /usr/bin/env python
2 """Tkinter is the Python interface to the Tk GUI toolkit. Tk offers
3 native look and feel on most major platforms, including Unix, Windows,
4 and Macintosh. The Tkinter-2.0 RPM contains the Python C extension
5 module for Python 2.0. The Python source files are distributed with
6 the main Python distribution."""
8 from distutils.core import setup, Extension
10 setup(name="Tkinter-2.0",
11 version="8.0",
12 description="Python interface to Tk GUI toolkit",
13 author="Python development team",
14 author_email="pythoneers@beopen.com",
15 url="http://www.pythonlabs.com/products/python2.0/",
16 licence="Modified CNRI Open Source License",
18 ext_modules=[Extension("_tkinter",
19 ["src/_tkinter.c", "src/tkappinit.c"],
20 define_macros=[('WITH_APPINIT', None)],
21 library_dirs=["/usr/X11R6/lib"],
22 libraries=["tk8.0", "tcl8.0", "X11"],
23 )],
25 long_description = __doc__