summaryrefslogtreecommitdiff
blob: 3475bf31795ec170a64c469586e660b7315c2799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/setup.py b/setup.py
index c1f319a..c44fc69 100644
--- a/setup.py
+++ b/setup.py
@@ -525,19 +525,6 @@ parser.read('setup.cfg')
 
 # check for mx package
 have_mxdatetime = False
-mxincludedir = ''
-if parser.has_option('build_ext', 'mx_include_dir'):
-    mxincludedir = parser.get('build_ext', 'mx_include_dir')
-if not mxincludedir:
-    mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx")
-if mxincludedir.strip() and os.path.exists(mxincludedir):
-    # Build the support for mx: we will check at runtime if it can be imported
-    include_dirs.append(mxincludedir)
-    define_macros.append(('HAVE_MXDATETIME', '1'))
-    sources.append('adapter_mxdatetime.c')
-    depends.extend(['adapter_mxdatetime.h', 'typecast_mxdatetime.c'])
-    have_mxdatetime = True
-    version_flags.append('mx')
 
 # generate a nice version string to avoid confusion when users report bugs
 version_flags.append('pq3')     # no more a choice