Last active
September 15, 2020 01:14
-
-
Save feifei9606/91ec8c6fdeda1200dbcac80531416db0 to your computer and use it in GitHub Desktop.
[Generate requirement] generate requirements.txt for python script or project #python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## install | |
| conda install -c conda-forge pigar | |
| ## change directory to your project | |
| pigar | |
| # project/foo.py: 2,3 | |
| # project/bar/baz.py: 2,7,8,9 | |
| # foobar == 3.3.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment