2012-12-16 08:24:07 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
import os, subprocess, sys
|
|
|
|
subprocess.call(['python', 'virtualenv.py', 'flask'])
|
|
|
|
if sys.platform == 'win32':
|
|
|
|
bin = 'Scripts'
|
|
|
|
else:
|
|
|
|
bin = 'bin'
|
2013-06-30 02:17:41 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask<0.10'])
|
2012-12-16 08:24:07 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-login'])
|
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-openid'])
|
|
|
|
if sys.platform == 'win32':
|
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', '--no-deps', 'lamson', 'chardet', 'flask-mail'])
|
|
|
|
else:
|
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-mail'])
|
2012-12-31 19:52:43 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'sqlalchemy==0.7.9'])
|
2012-12-16 08:24:07 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-sqlalchemy'])
|
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'sqlalchemy-migrate'])
|
2013-04-16 05:34:47 +00:00
|
|
|
#subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-whooshalchemy'])
|
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'git+git://github.com/miguelgrinberg/Flask-WhooshAlchemy'])
|
2012-12-16 08:24:07 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-wtf'])
|
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flask-babel'])
|
2013-02-20 06:59:54 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'guess-language'])
|
2012-12-16 08:24:07 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'flup'])
|
2013-03-10 04:17:06 +00:00
|
|
|
subprocess.call([os.path.join('flask', bin, 'pip'), 'install', 'coverage'])
|