diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-10-16 15:36:25 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-10-16 15:36:25 (GMT) |
commit | 21000caee72914d0108c58918edb1817d67e4025 (patch) | |
tree | 79cefd2199b62eea5c2ba89966a63de414704488 /Misc | |
parent | 355e2f2bc89bc33d8fd8921893cc1cd99f05f4ab (diff) | |
download | cpython-21000caee72914d0108c58918edb1817d67e4025.zip cpython-21000caee72914d0108c58918edb1817d67e4025.tar.gz cpython-21000caee72914d0108c58918edb1817d67e4025.tar.bz2 |
distutils setup files for Tkinter
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/RPM/Tkinter/setup.cfg | 4 | ||||
-rw-r--r-- | Misc/RPM/Tkinter/setup.py | 27 |
2 files changed, 31 insertions, 0 deletions
diff --git a/Misc/RPM/Tkinter/setup.cfg b/Misc/RPM/Tkinter/setup.cfg new file mode 100644 index 0000000..844b677 --- /dev/null +++ b/Misc/RPM/Tkinter/setup.cfg @@ -0,0 +1,4 @@ +[bdist_rpm] +packager = Jeremy Hylton <jeremy@beopen.com> +vendor = BeOpen PythonLabs +release = 2 diff --git a/Misc/RPM/Tkinter/setup.py b/Misc/RPM/Tkinter/setup.py new file mode 100644 index 0000000..78cb4a8 --- /dev/null +++ b/Misc/RPM/Tkinter/setup.py @@ -0,0 +1,27 @@ +#! /usr/bin/env python +"""Tkinter is the Python interface to the Tk GUI toolkit. Tk offers +native look and feel on most major platforms, including Unix, Windows, +and Macintosh. The Tkinter-2.0 RPM contains the Python C extension +module for Python 2.0. The Python source files are distributed with +the main Python distribution.""" + +from distutils.core import setup, Extension + +setup(name="Tkinter-2.0", + version="8.0", + description="Python interface to Tk GUI toolkit", + author="Python development team", + author_email="pythoneers@beopen.com", + url="http://www.pythonlabs.com/products/python2.0/", + licence="Modified CNRI Open Source License", + + ext_modules=[Extension("_tkinter", + ["src/_tkinter.c", "src/tkappinit.c"], + define_macros=[('WITH_APPINIT', None)], + library_dirs=["/usr/X11R6/lib"], + libraries=["tk8.0", "tcl8.0", "X11"], + )], + + long_description = __doc__ + ) + |