Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
99557332
Commit
99557332
authored
Jan 03, 2013
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
defaults
parent
a3d9c5a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
compile
bin/compile
+2
-2
release
bin/release
+8
-13
No files found.
bin/compile
View file @
99557332
...
...
@@ -157,7 +157,7 @@ if [ ! "$SKIP_INSTALL" ]; then
python setup.py
install
&> /dev/null
cd
$WORKING_DIR
puts-step
"Installing
p
ip (1.2.1)"
puts-step
"Installing
P
ip (1.2.1)"
cd
$ROOT_DIR
/vendor/pip-1.2.1/
python setup.py
install
&> /dev/null
cd
$WORKING_DIR
...
...
@@ -179,7 +179,7 @@ if (in-req "hg+" requirements.txt) then
fi
# Install dependencies with Pip.
puts-step
"Installing dependencies using
p
ip (1.2.1)"
puts-step
"Installing dependencies using
P
ip (1.2.1)"
pip
install
--use-mirrors
-r
requirements.txt
--exists-action
=
w
--src
=
./.heroku/src | cleanup | indent
# Django collectstatic support.
...
...
bin/release
View file @
99557332
...
...
@@ -11,18 +11,13 @@ config_vars:
EOF
MANAGE_FILE
=
$(
cd
$BUILD_DIR
&&
find
.
-maxdepth
3
-type
f
-name
'manage.py'
|
head
-1
)
MANAGE_FILE
=
${
MANAGE_FILE
:2
}
# [ "$NAME" = "Python/Django" ] || exit 0
# MANAGE_FILE=$(cd $BUILD_DIR && find . -maxdepth 3 -type f -name 'manage.py' | head -1)
# MANAGE_FILE=${MANAGE_FILE:2}
# PROJECT=$(dirname $MANAGE_FILE)
# cat <<EOF
# addons:
# shared-database:5mb
if
[[
$MANAGE_FILE
]]
;
then
cat
<<
EOF
# default_process_types:
# web: python $PROJECT/manage.py runserver 0.0.0.0:\$PORT --noreload
# EOF
addons:
shared-database:5mb
EOF
fi
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment