Conditional pip install requirements on Heroku for Django app

前端 未结 3 1087
深忆病人
深忆病人 2020-12-10 18:00

Let me start by saying, that I don\'t think there is a way to do this... but, there are a lot of clever people out there and so I thought I would ask! :)

I found a

3条回答
  •  醉梦人生
    2020-12-10 18:37

    I had similar needs in buildout and implemented it there. Now that I am migrating from buildout to pip, I came out with this script to use some various requirements files based on some conditions, that can based on os/arch or some environment variable or anything you like. Crude but effective for me.

    See https://gist.github.com/pombredanne/72130ee6f202e89c13bb

提交回复
热议问题