Created
February 9, 2018 16:40
-
-
Save macagua/235f875138221f2a9032c0adc4144fde to your computer and use it in GitHub Desktop.
[TIP] When there is Internet latency and requires installing python packages by a buildout proyect, for later shared these packages with others buildout proyect, then you can prevent buildout from re-downloading previously downloaded packages, running this command:
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
mkdir -p $HOME/.buildout/{downloads,eggs,extends,zope} && echo $HOME $HOME $HOME $HOME | awk '{ printf( "[buildout]\neggs-directory = %s/.buildout/eggs\ndownload-cache = %s/.buildout/downloads\nextends-cache = %s/.buildout/extends\nzope-directory = %s/.buildout/zope\nabi-tag-eggs = true\n", $1, $2, $3, $4 ) }' >> ~/.buildout/default.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment