Created
February 5, 2014 15:49
-
-
Save gamesbrainiac/8826567 to your computer and use it in GitHub Desktop.
Automatically generates the requirements of your interpreter through a pip freeze.
This file contains 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
# encoding=utf-8 | |
__author__ = 'Quazi Nafiul Islam' | |
import sys | |
import pip | |
if __name__ == '__main__': | |
sys.stdout = open('requirements.txt', 'w') | |
pip.main(['freeze']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment