Skip to content

Instantly share code, notes, and snippets.

@dabrahams
Created February 9, 2011 15:38
Show Gist options
  • Save dabrahams/818662 to your computer and use it in GitHub Desktop.
Save dabrahams/818662 to your computer and use it in GitHub Desktop.
Twisted in clean virtualenv *nix
$ mkvirtualenv --no-site-packages twist
New python executable in twist/bin/python
Installing setuptools............................done.
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/get_env_details
(twist)zreba:~ dave$ pip install twisted
Downloading/unpacking twisted
Downloading Twisted-10.2.0.tar.bz2 (2.7Mb): 2.7Mb downloaded
Running setup.py egg_info for package twisted
Downloading/unpacking zope.interface (from twisted)
Downloading zope.interface-3.6.1.tar.gz (125Kb): 125Kb downloaded
Running setup.py egg_info for package zope.interface
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./.virtualenvs/twist/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg (from zope.interface->twisted)
Installing collected packages: twisted, zope.interface
Running setup.py install for twisted
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o
conftest.c:1:23: error: sys/epoll.h: No such file or directory
building 'twisted.runner.portmap' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/runner/portmap.c -o build/temp.macosx-10.6-x86_64-2.7/twisted/runner/portmap.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/twisted/runner/portmap.o -o build/lib.macosx-10.6-x86_64-2.7/twisted/runner/portmap.so
building 'twisted.protocols._c_urlarg' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/protocols/_c_urlarg.c -o build/temp.macosx-10.6-x86_64-2.7/twisted/protocols/_c_urlarg.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/twisted/protocols/_c_urlarg.o -o build/lib.macosx-10.6-x86_64-2.7/twisted/protocols/_c_urlarg.so
building 'twisted.test.raiser' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/test/raiser.c -o build/temp.macosx-10.6-x86_64-2.7/twisted/test/raiser.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/twisted/test/raiser.o -o build/lib.macosx-10.6-x86_64-2.7/twisted/test/raiser.so
building 'twisted.python._initgroups' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/python/_initgroups.c -o build/temp.macosx-10.6-x86_64-2.7/twisted/python/_initgroups.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/twisted/python/_initgroups.o -o build/lib.macosx-10.6-x86_64-2.7/twisted/python/_initgroups.so
building 'twisted.internet._sigchld' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/internet/_sigchld.c -o build/temp.macosx-10.6-x86_64-2.7/twisted/internet/_sigchld.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/twisted/internet/_sigchld.o -o build/lib.macosx-10.6-x86_64-2.7/twisted/internet/_sigchld.so
changing mode of build/scripts-2.7/manhole from 644 to 755
changing mode of build/scripts-2.7/mktap from 644 to 755
changing mode of build/scripts-2.7/pyhtmlizer from 644 to 755
changing mode of build/scripts-2.7/tap2deb from 644 to 755
changing mode of build/scripts-2.7/tap2rpm from 644 to 755
changing mode of build/scripts-2.7/tapconvert from 644 to 755
changing mode of build/scripts-2.7/trial from 644 to 755
changing mode of build/scripts-2.7/twistd from 644 to 755
changing mode of build/scripts-2.7/cftp from 644 to 755
changing mode of build/scripts-2.7/ckeygen from 644 to 755
changing mode of build/scripts-2.7/conch from 644 to 755
changing mode of build/scripts-2.7/tkconch from 644 to 755
changing mode of build/scripts-2.7/lore from 644 to 755
changing mode of build/scripts-2.7/mailmail from 644 to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/cftp to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/ckeygen to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/conch to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/lore to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/mailmail to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/manhole to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/mktap to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/pyhtmlizer to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/tap2deb to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/tap2rpm to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/tapconvert to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/tkconch to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/trial to 755
changing mode of /Users/dave/.virtualenvs/twist/bin/twistd to 755
Running setup.py install for zope.interface
building 'zope.interface._zope_interface_coptimizations' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.macosx-10.6-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o -o build/lib.macosx-10.6-x86_64-2.7/zope/interface/_zope_interface_coptimizations.so
Skipping installation of /Users/dave/.virtualenvs/twist/lib/python2.7/site-packages/zope/__init__.py (namespace package)
Installing /Users/dave/.virtualenvs/twist/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-nspkg.pth
Successfully installed twisted zope.interface
Cleaning up...
(twist)zreba:~ dave$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment