python项目依赖并生成requirements.txt 使用pip freeze 1 pip freeze > requirements.txt 这种方式配合virtualenv 才好使,否则把整个环境中的包都列出来了。