Skip to content
Snippets Groups Projects
  • cclauss's avatar
    ee93719b
    Add download_python function to reduce repetition · ee93719b
    cclauss authored
    Create a common download_python() function that allows most other files in the build/runtimes directory to be simplified to something of the form:
    
    ```
    #!/usr/bin/env bash
    # Build Path: /app/.heroku/python/
    # Build Deps: libraries/sqlite
    
    OUT_PREFIX=$1
    
    source ./download_python
    download_python "2.7.8"
    cd src
    
    ./configure --prefix=$OUT_PREFIX
    make
    make install
    ```
    ee93719b
    History
    Add download_python function to reduce repetition
    cclauss authored
    Create a common download_python() function that allows most other files in the build/runtimes directory to be simplified to something of the form:
    
    ```
    #!/usr/bin/env bash
    # Build Path: /app/.heroku/python/
    # Build Deps: libraries/sqlite
    
    OUT_PREFIX=$1
    
    source ./download_python
    download_python "2.7.8"
    cd src
    
    ./configure --prefix=$OUT_PREFIX
    make
    make install
    ```