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
4eb5b5cb
Commit
4eb5b5cb
authored
Nov 01, 2011
by
Craig Kerstiens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating readme
parent
aeb8fb76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
Readme.md
Readme.md
+10
-6
No files found.
Readme.md
View file @
4eb5b5cb
...
@@ -3,6 +3,8 @@ Python Build Pack
...
@@ -3,6 +3,8 @@ Python Build Pack
The Python Build Pack (PBP) is a build pack for running Python and Django
The Python Build Pack (PBP) is a build pack for running Python and Django
apps on Heroku.
apps on Heroku.
## Usage
If
`requirements.txt`
is present, the PBP considers the directory a Python app
If
`requirements.txt`
is present, the PBP considers the directory a Python app
with packages to install via pip.
with packages to install via pip.
...
@@ -11,11 +13,13 @@ directory a Python/Django app, and patches `settings.py` to parse the Heroku
...
@@ -11,11 +13,13 @@ directory a Python/Django app, and patches `settings.py` to parse the Heroku
DATABASE_URL config vars. It then sets default process types to use the Django
DATABASE_URL config vars. It then sets default process types to use the Django
web server.
web server.
External Build Pack
----------------------
Cutting-edge development is taking place in this repo. To use this on Heroku,
set a
`BUILDPACK_URL`
config var with a fully authenticated URL to this repo:
$ heroku config:add BUILDPACK_URL=https://nzoschke:XXXXXXX@github.com/heroku/heroku-buildpack-python.git
## Hacking
To change this buildpack, fork it on GitHub. Push up changes to your
fork, then create a test app with
`--buildpack YOUR_GITHUB_URL`
and
push to it. If you already have an existing app you may use
`heroku config add BUILDPACK_URL=YOUR_GITHUB_URL`
instead.
For example, you could adapt it to use pypy at build time.... to be continued
On next push, slug-compiler will use this BP instead of the built-in one.
\ 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