mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
A interruptmodule.c
M setup.py Implements an interrupt extension module which allows a subthread to raise an interrupt in the main thread.
This commit is contained in:
parent
a2369928b5
commit
98b15ab980
2 changed files with 51 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
import os, glob, sys
|
||||
from distutils.core import setup
|
||||
from distutils.core import setup, Extension
|
||||
from distutils.command.build_py import build_py
|
||||
from distutils.command.install_lib import install_lib
|
||||
import idlever
|
||||
|
@ -111,5 +111,6 @@ For further details, refer to idlefork.sourceforge.net.
|
|||
'install_lib':IDLE_Installer},
|
||||
package_dir = {pkgname: pkg_dir},
|
||||
packages = [pkgname],
|
||||
ext_modules = [Extension("interrupt", ["interruptmodule.c"])],
|
||||
scripts = [os.path.join(pkg_dir, idle_name)]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue