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.3 2003/12/02 23:37:26 recht Exp $
--- setup.py~ 2003-11-18 04:50:14.000000000 +0100
+++ setup.py 2003-11-19 14:42:48.000000000 +0100
@@ -10,7 +10,6 @@
import sys
import os
-import tempfile
from distutils.core import setup
from distutils import sysconfig
@@ -56,8 +55,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 :
@@ -78,7 +77,6 @@
author_email = "pychecker@metaslash.com",
url = "http://pychecker.sourceforge.net/",
packages = [ 'pychecker' ],
- data_files = [ (install_dir, DOC_FILES) ],
scripts = [ LOCAL_SCRIPT, ],
# classifiers was added in Python 2.3, but needed for PyPI
#classifiers = CLASSIFIERS,
|