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
:: extract source | |
call bsdtar.exe xvzf virtualenv-1.11.6.tar.gz | |
:: switch directories | |
cd virtualenv-1.11.6 | |
:: make the virtualenv | |
python virtualenv.py ..\%1 | |
:: install the dependencies |
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
:: extract source | |
call bsdtar.exe xvzf virtualenv-1.11.6.tar.gz | |
:: switch directories | |
cd virtualenv-1.11.6 | |
:: make the virtualenv | |
python virtualenv.py ..\%1 | |
:: install the dependencies |
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
:: http://www.robvanderwoude.com/ntregistry.php | |
echo Checking registry for existing Python install path under "HKCU\Software\Python\PythonCore\2.7\InstallPath" | |
:: query the registry, parse it's output and if we get anything, save it as %installpath% | |
:: delims is a TAB followed by a space | |
for /f "tokens=2* delims= " %%A in ('reg query "HKCU\Software\Python\PythonCore\2.7\InstallPath"') do set installpath=%%B | |
:: if we've got a value in %installpath%, save it out to disk for restoration later | |
if not "%installpath%"=="" call reg export "HKCU\Software\Python\PythonCore\2.7\InstallPath" installpath.reg && echo Found existing InstallPath, saving to installpath.reg | |
:: update the registry with the path to our virtualenv |
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
:: extract source | |
call bsdtar.exe xvzf virtualenv-1.11.6.tar.gz | |
:: switch directories | |
cd virtualenv-1.11.6 | |
:: make the virtualenv | |
python virtualenv.py ..\%1 | |
:: install the dependencies |
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
(venv) C:\testvenv> pip freeze | |
Jinja2==2.7.3 | |
MarkupSafe==0.23 | |
Pillow==2.5.1 | |
PyYAML==3.11 | |
beautifulsoup4==4.3.2 | |
coverage==3.7.1 | |
docopt==0.6.2 | |
mock==1.0.1 | |
nose==1.3.3 |
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
#!/bin/sh | |
tar xvzf virtualenv-1.11.6.tar.gz | |
cd virtualenv-1.11.6 | |
sudo python virtualenv.py ../$1 |
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
#!/bin/sh | |
tar xvzf virtualenv-1.11.6.tar.gz | |
cd virtualenv-1.11.6 | |
sudo python virtualenv.py ../$1 | |
cd .. | |
source $1/bin/activate | |
sudo pip install -r mac_requirements.txt | |
rm -rf virtualenv-1.11.6 | |
deactivate |
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
#!/bin/sh | |
tar xvzf virtualenv-1.11.6.tar.gz | |
cd virtualenv-1.11.6 | |
sudo python virtualenv.py ../$1 | |
cd .. | |
# activate the virtualenv, install the requirements | |
source $1/bin/activate | |
sudo pip install -r mac_requirements.txt |
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
[ec2_metadata] | |
type = "ProcessInput" | |
ticker_interval = 10 | |
decoder = "ec2_metadata_decoder" | |
[ec2_metadata.command.0] | |
bin = "/usr/bin/ec2metadata" | |
args = ["--ami-id", "--instance-id", "--instance-type", "--local-ipv4"] | |
[ec2_metadata_decoder] |
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
{ | |
"size": 0, | |
"query": { | |
"filtered": { | |
"query": { | |
"query_string": { | |
"analyze_wildcard": true, | |
"query": "_type:logs" | |
} | |
}, |
OlderNewer