Changeset 38596a in indico


Ignore:
Timestamp:
08/16/11 10:32:16 (22 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 10eafd9ae230cbad5d99d5aaf22c24724fb6c98f
Children:
70cbfb
Parents:
462214
git-author:
Jose Benito <jose.benito.gonzalez@…> (07/26/11 14:25:30)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (08/16/11 10:32:16)
Message:

[IMP] Default install dir changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r89502b r38596a  
    269269Please specify the directory where you'd like it to be placed. 
    270270(Note that putting it outside of your sourcecode tree is recommended)""" 
    271         prefixDir = raw_input('[%s]: ' % os.getcwd()).strip() 
     271        prefixDirDefault = os.path.dirname(os.getcwd()) 
     272        prefixDir = raw_input('[%s]: ' % prefixDirDefault).strip() 
    272273 
    273274        if prefixDir == '': 
    274             prefixDir = os.getcwd() 
     275            prefixDir = prefixDirDefault 
    275276 
    276277        directories = dict((d, os.path.join(prefixDir, d)) for d in 
Note: See TracChangeset for help on using the changeset viewer.