Sharing scripts that require a virtualenv to be activated

后端 未结 3 427
醉酒成梦
醉酒成梦 2021-02-02 07:21

I have virtualenv and virtualenvwrapper installed on a shared Linux server with default settings (virtualenvs are in ~/.virtualenvs). I have several Python scripts that can onl

3条回答
  •  醉话见心
    2021-02-02 07:45

    If it's only on one server, then flexibility is irrelevant. Modify the shebang. If you're worried about that, make a packaged, installed copy on the dev server that doesn't use the virtualenv. Once it's out of develepment, whether that's for local users or users in guatemala, virtualenv is no longer the right tool.

提交回复
热议问题