1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-aa,v 1.2 2003/06/28 14:49:48 drochner Exp $
--- setup.py.orig 2002-12-24 02:05:58.000000000 +0100
+++ setup.py 2003-06-28 16:36:47.000000000 +0200
@@ -10,7 +10,6 @@
import sys
import os
-import tempfile
from distutils.core import setup
from distutils import sysconfig
@@ -42,8 +41,8 @@
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' + sys.version[0:3] + script_suffix
+ LOCAL_SCRIPT = os.path.join('./', LOCAL_SCRIPT)
remove_file(LOCAL_SCRIPT)
try :
@@ -64,7 +63,6 @@
author_email = "pychecker@metaslash.com",
url = "http://pychecker.sourceforge.net/",
packages = [ 'pychecker' ],
- data_files = [ (install_dir, DOC_FILES) ],
scripts = [ LOCAL_SCRIPT, ],
long_description = LONG_DESCRIPTION
)
|