-
-
Notifications
You must be signed in to change notification settings - Fork 544
Makefile to spawn a virtualenv with every social lib
Matías Aguirre edited this page Jan 8, 2017
·
1 revision
VIRTUALENVS_HOME := ${HOME}/.virtualenvs
install-social-core:
@ cd social-core; ${VIRTUALENVS_HOME}/${name}/bin/python social-core/setup.py install; cd ..
install-social-storage-mongoengine:
@ cd social-storage-mongoengine; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-storage-peewee:
@ cd social-storage-peewee; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-storage-sqlalchemy:
@ cd social-storage-sqlalchemy; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-cherrypy:
@ cd social-app-cherrypy; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-django:
@ cd social-app-django; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-django-mongoengine:
@ cd social-app-django-mongoengine; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-flask:
@ cd social-app-flask; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-flask-mongoengine:
@ cd social-app-flask-mongoengine; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-flask-peewee:
@ cd social-app-flask-peewee; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-flask-sqlalchemy:
@ cd social-app-flask-sqlalchemy; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-pyramid:
@ cd social-app-pyramid; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-tornado:
@ cd social-app-tornado; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social-app-webpy:
@ cd social-app-webpy; ${VIRTUALENVS_HOME}/${name}/bin/python setup.py install; cd ..
install-social: install-social-core \
install-social-storage-mongoengine \
install-social-storage-peewee \
install-social-storage-sqlalchemy \
install-social-app-cherrypy \
install-social-app-django \
install-social-app-django-mongoengine \
install-social-app-flask \
install-social-app-flask-mongoengine \
install-social-app-flask-peewee \
install-social-app-flask-sqlalchemy \
install-social-app-pyramid \
install-social-app-tornado \
install-social-app-webpy
activate-env:
@ . ${VIRTUALENVS_HOME}/${name}/bin/activate
create-virtualenv2:
@ virtualenv --no-site-packages ${VIRTUALENVS_HOME}/${name}
create-virtualenv3:
@ virtualenv -p `which python3` --no-site-packages ${VIRTUALENVS_HOME}/${name}
virtual2: create-virtualenv2 activate-env install-social
virtual3: create-virtualenv3 activate-env install-social