pkgsrc/devel/py-Checker-mixedcase/patches/patch-aa

34 lines
1.1 KiB
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.2 2002/06/10 02:25:03 shell Exp $
--- setup.py.orig Thu Mar 21 03:13:13 2002
+++ setup.py Fri Apr 19 18:25:05 2002
@@ -10,7 +10,7 @@
import sys
import os
-import tempfile
+#import tempfile
from distutils.core import setup
from distutils import sysconfig
@@ -41,8 +41,8 @@
script_str = '%s %s %%*\n' % (py_exe, checker_py)
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 :
@@ -63,7 +63,7 @@
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
)