$OpenBSD: patch-setup_py,v 1.4 2002/07/15 04:09:33 shell Exp $
--- setup.py.orig	Fri Jun  7 03:59:21 2002
+++ setup.py	Mon Jul 15 12:05:50 2002
@@ -10,7 +10,7 @@ Contributed by:  Nicolas Chauvat
 
 import sys
 import os
-import tempfile
+#import tempfile
 
 from distutils.core import setup
 from distutils import sysconfig
@@ -42,8 +42,8 @@ fairly infrequent."""
         script_str = '%s %s %s\n' % (py_exe, checker_py, arg_str)
         script_suffix = '.bat'
 
-    LOCAL_SCRIPT = 'pychecker' + script_suffix
-    LOCAL_SCRIPT = os.path.join(tempfile.gettempdir(), LOCAL_SCRIPT)
+    LOCAL_SCRIPT = 'pyChecker' + script_suffix
+    LOCAL_SCRIPT = os.path.join('./', LOCAL_SCRIPT)
     remove_file(LOCAL_SCRIPT)
 
     try :
@@ -64,7 +64,7 @@ fairly infrequent."""
           author_email          = "pychecker@metaslash.com",
           url                   = "http://pychecker.sourceforge.net/",
           packages              = [ 'pychecker' ],
-          data_files            = [ (install_dir, DOC_FILES) ],
+#          data_files            = [ (install_dir, DOC_FILES) ],
           scripts               = [ LOCAL_SCRIPT, ],
           long_description      = LONG_DESCRIPTION
          )
