fun build会在python可执行文件头加入本地虚拟环境python解释器路径
- Dominant language
- JavaScript
- Stars
- 931
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
本机虚拟环境py36,requirements中包含gunicorn等三方包,执行fun build,在生成的.fun/python/bin/gunicorn的文件头,加入了`#!/root/.pyenv/versions/3.6.5/envs/py36/bin/python3.6`
bootstrap中使用gunicorn启动项目时,会找不到解释器

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with a local py36 virtual environment whose requirements include gunicorn, then run fun build. Inspect the generated .fun/python/bin/gunicorn and the bootstrap startup path; done means the packaged launcher no longer points to the local virtualenv interpreter and bootstrap can start the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100