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
f7e05410
Commit
f7e05410
authored
Nov 11, 2011
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.heroku folder
parent
34dc65d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
compile
bin/compile
+11
-4
release
bin/release
+2
-2
No files found.
bin/compile
View file @
f7e05410
...
@@ -55,21 +55,28 @@ done
...
@@ -55,21 +55,28 @@ done
echo
"-----> Preparing virtualenv version
$(
virtualenv
--version
)
"
echo
"-----> Preparing virtualenv version
$(
virtualenv
--version
)
"
virtualenv
--no-site-packages
.
| indent
virtualenv
--no-site-packages
.
| indent
# create set-aside .heroku folder.
mkdir
.heroku
# if pylibmc within requirements, use vendored libmemcached
# if pylibmc within requirements, use vendored libmemcached
if
grep
-Fxq
"pylibmc"
requirements.txt
if
grep
-Fxq
"pylibmc"
requirements.txt
then
then
echo
"-----> Noticed pylibmc. Bootstrapping libmemcached."
echo
"-----> Noticed pylibmc. Bootstrapping libmemcached."
curl
-s
-L
-O
http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz
cd
.heroku
tar
-zxvf
vendor-libmemcached.tar.gz
>
/dev/null
rm
vendor-libmemcached.tar.gz
if
![
-d
"vendor"
]
;
then
curl
-s
-L
-O
http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz
tar
-zxvf
vendor-libmemcached.tar.gz
>
/dev/null
rm
vendor-libmemcached.tar.gz
fi
export
LIBMEMCACHED
=
$(
pwd
)
/vendor
export
LIBMEMCACHED
=
$(
pwd
)
/vendor
cd
..
fi
fi
# if Django, append settings
# if Django, append settings
if
[
"
$NAME
"
=
"Python/Django"
]
;
then
if
[
"
$NAME
"
=
"Python/Django"
]
;
then
echo
"-----> Django settings injection"
echo
"-----> Django settings injection"
...
...
bin/release
View file @
f7e05410
...
@@ -16,8 +16,8 @@ EOF
...
@@ -16,8 +16,8 @@ EOF
if
grep
-Fxq
"pylibmc"
$BUILD_DIR
/requirements.txt
if
grep
-Fxq
"pylibmc"
$BUILD_DIR
/requirements.txt
then
then
cat
<<
EOF
cat
<<
EOF
LIBRARY_PATH: ./vendor/lib
LIBRARY_PATH: .
heroku
/vendor/lib
LD_LIBRARY_PATH: ./vendor/lib
LD_LIBRARY_PATH: .
heroku
/vendor/lib
EOF
EOF
fi
fi
...
...
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