aboutsummaryrefslogtreecommitdiff
path: root/examples/python2.7/patches/enable-fpectl.diff
blob: ebcb8337393f2abb7925cda261a30d8ac293df6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# DP: Enable the build of the fpectl module.

--- a/setup.py
+++ b/setup.py
@@ -1276,6 +1276,9 @@
         else:
             missing.append('_curses_panel')
 
+        #fpectl fpectlmodule.c ...
+        exts.append( Extension('fpectl', ['fpectlmodule.c']) )
+
         # Andrew Kuchling's zlib module.  Note that some versions of zlib
         # 1.1.3 have security problems.  See CERT Advisory CA-2002-07:
         # http://www.cert.org/advisories/CA-2002-07.html