Skip to content

Commit e27ab99

Browse files
author
Richard Jones
committed
applied patch [SF#045645]
1 parent 39ab5c0 commit e27ab99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: setup.py,v 1.73 2004-10-31 08:56:39 a1s Exp $
19+
# $Id: setup.py,v 1.74 2004-11-10 22:27:39 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -114,7 +114,7 @@ def finalize_options(self):
114114

115115
# tweak python path for installations outside main python library
116116
if cmdopt.get("install", {}).has_key("prefix"):
117-
prefix = cmdopt['install']['prefix'][1]
117+
prefix = os.path.expanduser(cmdopt['install']['prefix'][1])
118118
version = '%d.%d'%sys.version_info[:2]
119119
self.script_preamble = '''
120120
import sys

0 commit comments

Comments
 (0)