Created
January 21, 2015 21:41
-
-
Save tseaver/67057d84ba273f817ed2 to your computer and use it in GitHub Desktop.
Test tompoes w/ buildout
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
# | |
# What is installed in my Python | |
# | |
$ ls -laF /opt/Python-2.7.9/lib/python2.7/site-packages/ | |
total 2040 | |
drwxr-xr-x 15 root root 4096 Jan 7 10:42 ./ | |
drwxr-xr-x 28 root root 20480 Dec 16 16:59 ../ | |
drwxr-xr-x 4 root root 4096 Dec 16 17:02 bzr-2.6.0-py2.7-linux-x86_64.egg/ | |
drwxr-xr-x 4 root root 4096 Dec 16 17:03 detox-0.9.3-py2.7.egg/ | |
-rw-r--r-- 1 root root 466 Jan 7 10:42 easy-install.pth | |
drwxr-xr-x 4 root root 4096 Jan 7 10:42 eventlet-0.15.0-py2.7.egg/ | |
drwxr-xr-x 5 root root 4096 Dec 16 17:02 eventlet-0.15.2-py2.7.egg/ | |
drwxr-xr-x 5 root root 4096 Jan 7 10:40 eventlet-0.16.0-py2.7.egg/ | |
drwxr-xr-x 3 root root 4096 Dec 16 17:02 greenlet-0.4.5-py2.7-linux-x86_64.egg/ | |
drwxr-xr-x 4 root root 4096 Dec 29 16:57 pip-6.0.3-py2.7.egg/ | |
drwxr-xr-x 4 root root 4096 Dec 16 17:01 py-1.4.26-py2.7.egg/ | |
-rw-r--r-- 1 root root 119 Dec 16 16:59 README | |
-rw-r--r-- 1 root root 509871 Dec 16 17:00 setuptools-1.4-py2.7.egg | |
-rw-r--r-- 1 root root 484646 Dec 16 17:00 setuptools-8.0.4-py2.7.egg | |
-rw-r--r-- 1 root root 487818 Dec 23 11:45 setuptools-8.2.1-py2.7.egg | |
-rw-r--r-- 1 root root 489904 Dec 29 16:57 setuptools-9.1-py2.7.egg | |
-rw-r--r-- 1 root root 13981 Dec 16 17:01 setuptools_git-1.1-py2.7.egg | |
-rw-r--r-- 1 root root 27 Dec 29 16:57 setuptools.pth | |
drwxr-xr-x 4 root root 4096 Dec 16 17:01 tox-1.8.1-py2.7.egg/ | |
drwxr-xr-x 4 root root 4096 Dec 16 17:01 virtualenv-1.11.6-py2.7.egg/ | |
drwxr-xr-x 4 root root 4096 Dec 23 11:45 virtualenv-12.0.2-py2.7.egg/ | |
drwxr-xr-x 4 root root 4096 Dec 24 09:55 virtualenv-12.0.4-py2.7.egg/ | |
drwxr-xr-x 4 root root 4096 Jan 7 10:39 virtualenv-12.0.5-py2.7.egg/ | |
# | |
# Clone the repo | |
# | |
$ git clone https://github.com/specialunderwear/tompoes.git | |
Cloning into 'tompoes'... | |
remote: Counting objects: 41, done. | |
remote: Compressing objects: 100% (27/27), done. | |
remote: Total 41 (delta 9), reused 40 (delta 8) | |
Unpacking objects: 100% (41/41), done. | |
$ cd tompoes | |
$ ls *.cfg | |
develop.cfg egg.cfg localsource.cfg source.cfg | |
# | |
# Try with 'develop.cfg' | |
# | |
$ rm -rf bin/ develop-eggs/ eggs/ parts && /opt/Python-2.7.9/bin/python bootstrap.py -c develop.cfg && bin/buildout -c develop.cfg && bin/tom_main | |
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.4.zip | |
Extracting in /tmp/tmplWLrLf | |
Now working in /tmp/tmplWLrLf/setuptools-12.0.4 | |
Building a Setuptools egg in /tmp/tmpHhc0a_ | |
/tmp/tmpHhc0a_/setuptools-12.0.4-py2.7.egg | |
Creating directory '/tmp/tompoes/bin'. | |
Creating directory '/tmp/tompoes/parts'. | |
Creating directory '/tmp/tompoes/eggs'. | |
Creating directory '/tmp/tompoes/develop-eggs'. | |
Generated script '/tmp/tompoes/bin/buildout'. | |
Develop: '/tmp/tompoes/.' | |
Getting distribution for 'zc.recipe.egg>=2.0.0a3'. | |
Got zc.recipe.egg 2.0.1. | |
Uninstalling tompoes. | |
Installing tompoes. | |
Generated script '/tmp/tompoes/bin/tom_main'. | |
entry_points console_scripts works! | |
# | |
# Try with 'egg.cfg' | |
# | |
$ rm -rf bin/ develop-eggs/ eggs/ parts && /opt/Python-2.7.9/bin/python bootstrap.py -c egg.cfg && bin/buildout -c egg.cfg && bin/tom_main | |
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.4.zip | |
Extracting in /tmp/tmpAEesni | |
Now working in /tmp/tmpAEesni/setuptools-12.0.4 | |
Building a Setuptools egg in /tmp/tmpEx6X26 | |
/tmp/tmpEx6X26/setuptools-12.0.4-py2.7.egg | |
Creating directory '/tmp/tompoes/bin'. | |
Creating directory '/tmp/tompoes/parts'. | |
Creating directory '/tmp/tompoes/eggs'. | |
Creating directory '/tmp/tompoes/develop-eggs'. | |
Generated script '/tmp/tompoes/bin/buildout'. | |
Getting distribution for 'zc.recipe.egg>=2.0.0a3'. | |
Got zc.recipe.egg 2.0.1. | |
Uninstalling tompoes. | |
Installing tompoes. | |
Getting distribution for 'tompoes'. | |
Got tompoes 0.0.5. | |
Generated script '/tmp/tompoes/bin/tom_main'. | |
Generated script '/tmp/tompoes/bin/tom'. | |
entry_points console_scripts works! | |
# | |
# Try with 'localsource.cfg' | |
# | |
$ rm -rf bin/ develop-eggs/ eggs/ parts && /opt/Python-2.7.9/bin/python bootstrap.py -c localsource.cfg && bin/buildout -c localsource.cfg && bin/tom_main | |
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.4.zip | |
Extracting in /tmp/tmplMNsgD | |
Now working in /tmp/tmplMNsgD/setuptools-12.0.4 | |
Building a Setuptools egg in /tmp/tmpr0ScbO | |
/tmp/tmpr0ScbO/setuptools-12.0.4-py2.7.egg | |
Creating directory '/tmp/tompoes/bin'. | |
Creating directory '/tmp/tompoes/parts'. | |
Creating directory '/tmp/tompoes/eggs'. | |
Creating directory '/tmp/tompoes/develop-eggs'. | |
Generated script '/tmp/tompoes/bin/buildout'. | |
Getting distribution for 'mr.developer'. | |
Got mr.developer 1.31. | |
mr.developer: Creating missing sources dir /tmp/tompoes/src. | |
mr.developer: Queued 'tompoes' for checkout. | |
mr.developer: Cloned 'tompoes' with git. | |
Develop: '/tmp/tompoes/src/tompoes' | |
Getting distribution for 'zc.recipe.egg>=2.0.0a3'. | |
Got zc.recipe.egg 2.0.1. | |
Uninstalling tompoes. | |
Installing _mr.developer. | |
Generated script '/tmp/tompoes/bin/develop'. | |
Installing tompoes. | |
Generated script '/tmp/tompoes/bin/tom_main'. | |
entry_points console_scripts works! | |
# | |
# Try with 'source.cfg' | |
# | |
$ rm -rf bin/ develop-eggs/ eggs/ parts && /opt/Python-2.7.9/bin/python bootstrap.py -c source.cfg && bin/buildout -c source.cfg && bin/tom_mainDownloading https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.4.zip | |
Extracting in /tmp/tmpSTCrxI | |
Now working in /tmp/tmpSTCrxI/setuptools-12.0.4 | |
Building a Setuptools egg in /tmp/tmpjLhKvE | |
/tmp/tmpjLhKvE/setuptools-12.0.4-py2.7.egg | |
Creating directory '/tmp/tompoes/bin'. | |
Creating directory '/tmp/tompoes/parts'. | |
Creating directory '/tmp/tompoes/eggs'. | |
Creating directory '/tmp/tompoes/develop-eggs'. | |
Generated script '/tmp/tompoes/bin/buildout'. | |
Getting distribution for 'mr.developer'. | |
Got mr.developer 1.31. | |
mr.developer: Queued 'tompoes' for checkout. | |
mr.developer: Checkout URL for existing package 'tompoes' differs. Expected 'https://github.com/specialunderwear/tompoes.git'. | |
Develop: '/tmp/tompoes/src/tompoes' | |
Getting distribution for 'zc.recipe.egg>=2.0.0a3'. | |
Got zc.recipe.egg 2.0.1. | |
Uninstalling tompoes. | |
Uninstalling _mr.developer. | |
Installing _mr.developer. | |
Generated script '/tmp/tompoes/bin/develop'. | |
Installing tompoes. | |
Generated script '/tmp/tompoes/bin/tom_main'. | |
entry_points console_scripts works! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment