#!/bin/sh

# Copyright 2015 Sébastien Maccagnoni-Munch
#
# This file is part of AwesomeShop.
#
# AwesomeShop is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# AwesomeShop is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with AwesomeShop. If not, see <http://www.gnu.org/licenses/>.

sudo apt-get install python-virtualenv gcc python-dev libjpeg-dev libpng-dev libssl-dev
virtualenv --system-site-packages venv
. venv/bin/activate
pip install -r requirements.txt

#!/bin/sh

# Copyright 2015 Sébastien Maccagnoni-Munch
#
# This file is part of AwesomeShop.
#
# AwesomeShop is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# AwesomeShop is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with AwesomeShop. If not, see <http://www.gnu.org/licenses/>.

sudo apt-get install python-virtualenv libjpeg-dev libpng-dev libssl-dev
virtualenv --system-site-packages venv
. venv/bin/activate
pip install -r requirements.txt

--- 
+++ 
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with AwesomeShop. If not, see <http://www.gnu.org/licenses/>.
 
-sudo apt-get install python-virtualenv libjpeg-dev libpng-dev libssl-dev
+sudo apt-get install python-virtualenv gcc python-dev libjpeg-dev libpng-dev libssl-dev
 virtualenv --system-site-packages venv
 . venv/bin/activate
 pip install -r requirements.txt
Add development prerequisite to the python app init script
