зеркало из https://github.com/mozilla/FlightDeck.git
fix installation process - pylint for devs added
This commit is contained in:
Родитель
4cfeecbfa0
Коммит
f67387a752
|
@ -140,13 +140,16 @@ try:
|
|||
except:
|
||||
""
|
||||
|
||||
# TESTING
|
||||
try:
|
||||
import django_nose
|
||||
INSTALLED_APPS.append('django_nose')
|
||||
except:
|
||||
""
|
||||
INSTALLED_APPS.extend([
|
||||
# database migrations
|
||||
# 'south',
|
||||
|
||||
# TESTING
|
||||
'django_nose',
|
||||
|
||||
# FlightDeck apps
|
||||
'base', # basic flightdeck things (utils, urls)
|
||||
'person', # user related stuff (profile etc.)
|
||||
|
|
|
@ -22,3 +22,6 @@ nose
|
|||
# selenium==1.0.1
|
||||
mock
|
||||
# translate-toolkit==1.6.0
|
||||
|
||||
#editing
|
||||
pylint
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# requirements for production environment
|
||||
|
||||
# Django
|
||||
Django>=1.1.1
|
||||
Django==1.2.1
|
||||
|
||||
# Database
|
||||
pysql
|
||||
mysql-python
|
||||
South
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ source $V_ENV/bin/activate
|
|||
|
||||
# set path to the project direcotry
|
||||
PYTHONPATH=$PROJECT_DIR/$PROJECT_NAME:$PROJECT_DIR:$PYTHONPATH
|
||||
echo $PYTHONPATH
|
||||
|
||||
# cuddlefish env
|
||||
CUDDLEFISH_ROOT="$V_ENV"
|
||||
|
|
|
@ -14,8 +14,9 @@ fi
|
|||
|
||||
if [ ! -e $V_ENV ]
|
||||
then
|
||||
echo "creating virtual environment: $V_ENV"
|
||||
echo "FD: creating virtual environment: $V_ENV"
|
||||
virtualenv --no-site-packages $V_ENV
|
||||
#virtualenv $V_ENV
|
||||
fi
|
||||
|
||||
pip install -E $V_ENV/ -r $PROJECT_DIR/requirements/$REQUIREMENTS.txt
|
||||
|
|
Загрузка…
Ссылка в новой задаче