Use Python to generate the project's requirements.txt file

高洛峰
Release: 2017-03-09 09:38:20
Original
2443 people have browsed it

pip freeze

The requirements.txt file it generates contains a complete list of the current environment, including irrelevant dependency packages.

pipreqs

pip install pipreqs
Copy after login
pipreqs --force <project-path>
Copy after login

Only contains packages of project imports, the inclusion list is not very complete

pigar

pip install pigar
Copy after login

The output information is more detailed than pipgreqs

pigar -c requirements.txt
Copy after login

                                                               

The above is the detailed content of Use Python to generate the project's requirements.txt file. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!