forked from orbit-oss/flask
Small fixes in the extension tester
This commit is contained in:
parent
140fc45ebd
commit
8bd8b014a8
1 changed files with 5 additions and 2 deletions
|
|
@ -27,13 +27,16 @@ from setuptools.archive_util import unpack_archive
|
|||
|
||||
flask_svc_url = 'http://flask.pocoo.org/extensions/'
|
||||
|
||||
|
||||
# OS X has awful paths when using mkstemp or gettempdir(). I don't
|
||||
# care about security or clashes here, so pick something that is
|
||||
# actually rememberable.
|
||||
if sys.platform == 'darwin':
|
||||
_tempdir = '/private/tmp'
|
||||
else:
|
||||
_tempdir = tempfile.gettempdir()
|
||||
tdir = _tempdir + '/flaskext-test'
|
||||
flaskdir = os.path.abspath(os.path.join(os.path.dirname(__file__),
|
||||
'..'))
|
||||
flaskdir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
|
||||
|
||||
|
||||
# virtualenv hack *cough*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue