Python 3.4+ compatibility (while dropping Python < 2.6).
[texml.git] / setup.py
index a5eeacf..2a17358 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -4,22 +4,6 @@ import os.path
 import re
 import glob
 
-def test_for_sax():
-    try:
-        import xml.sax
-    except ImportError:
-        sys.stderr.write('Please install the python pyxml modules\n')
-        sys.stdout.write('You must have this module before you can install texml\n')
-        sys.exit(1)
-
-def get_dtd_location():
-    """
-    For now, this is not used
-
-    """
-    return
-    return '/home/paul/Documents/data/dtds/'
-
 
 def get_version():
     # Take the version from "scripts/texml.py"
@@ -36,8 +20,6 @@ def get_version():
       raise "Can't find version"
     return version
 
-if 'build' in sys.argv:
-    test_for_sax()
 
 version = get_version()