pipenv: deployment workflow

后端 未结 5 769
独厮守ぢ
独厮守ぢ 2021-02-01 19:17

I am thinking about switching from pip & virtualenv to pipenv. But after studying the documentation I am still at a loss on how the creators of pipenv structured the deploy

5条回答
  •  太阳男子
    2021-02-01 19:50

    To create virtual environment in the same directory as the project set the following environment variable doc

    PIPENV_VENV_IN_PROJECT=true
    

    This installs the dependencies to .venv directory inside project. Available from PipEnv v2.8.7

提交回复
热议问题