Skip to content

Instantly share code, notes, and snippets.

@relrod
Created January 14, 2015 14:44
Show Gist options
  • Select an option

  • Save relrod/7f5e9ca8b97096c311a2 to your computer and use it in GitHub Desktop.

Select an option

Save relrod/7f5e9ca8b97096c311a2 to your computer and use it in GitHub Desktop.
ricky@t520 99% ~/devel/python/fedora/fas (FAS_3.0)$ rm -rf ~/.virtualenvs/fas-python2.7/
ricky@t520 99% ~/devel/python/fedora/fas (FAS_3.0)$ export WORKON_HOME=$HOME/.virtualenvs
ricky@t520 99% ~/devel/python/fedora/fas (FAS_3.0)$ source /usr/bin/virtualenvwrapper.sh
ricky@t520 99% ~/devel/python/fedora/fas (FAS_3.0)$ ./bootstrap.py
Bootstrapping fas...
Trying 'rmvirtualenv fas-python2.7'
Removing fas-python2.7...
Did not find environment /home/ricky/.virtualenvs/fas-python2.7 to remove.
Trying 'mkvirtualenv --no-site-packages -p /usr/bin/python2.7 fas-python2.7'
New python executable in fas-python2.7/bin/python2.7
Also creating executable in fas-python2.7/bin/python
Installing setuptools, pip...done.
Running virtualenv with interpreter /usr/bin/python2.7
Linking in global module: koji
Linking in global module: rpm
Linking in global module: OpenSSL
Linking in global module: urlgrabber
Linking in global module: pycurl.so
Linking in global module: yum
Linking in global module: rpmUtils
Linking in global module: sqlitecachec.py
Linking in global module: _sqlitecache.so
Linking in global module: psycopg2
Linking in global module: krbVmodule.so
/home/ricky/.virtualenvs/fas-python2.7/bin/python setup.py develop
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'message_extractors'
warnings.warn(msg)
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'paster_plugins'
warnings.warn(msg)
running develop
running egg_info
writing requirements to fas.egg-info/requires.txt
writing fas.egg-info/PKG-INFO
writing top-level names to fas.egg-info/top_level.txt
writing dependency_links to fas.egg-info/dependency_links.txt
writing entry points to fas.egg-info/entry_points.txt
reading manifest file 'fas.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pt' under directory 'fas'
warning: no files found matching '*.mak' under directory 'fas'
warning: no files found matching '*.mako' under directory 'fas'
warning: no files found matching '*.xml' under directory 'fas'
writing manifest file 'fas.egg-info/SOURCES.txt'
running build_ext
Creating /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/fas.egg-link (link to .)
Adding fas 3.0 to easy-install.pth file
Installing fas-admin script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installed /home/ricky/devel/python/fedora/fas
Processing dependencies for fas==3.0
Searching for fake-factory
Reading https://pypi.python.org/simple/fake-factory/
Best match: fake-factory 0.4.2
Downloading https://pypi.python.org/packages/source/f/fake-factory/fake-factory-0.4.2.tar.gz#md5=df6f329025e02387e0e0731d980a0fe7
Processing fake-factory-0.4.2.tar.gz
Writing /tmp/easy_install-hPImf0/fake-factory-0.4.2/setup.cfg
Running fake-factory-0.4.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-hPImf0/fake-factory-0.4.2/egg-dist-tmp-xxRYsb
Adding fake-factory 0.4.2 to easy-install.pth file
Installing faker script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/fake_factory-0.4.2-py2.7.egg
Searching for lingua
Reading https://pypi.python.org/simple/lingua/
Best match: lingua 3.7
Downloading https://pypi.python.org/packages/source/l/lingua/lingua-3.7.tar.gz#md5=e3a0fde65afc6de0d3c122acee9f47c4
Processing lingua-3.7.tar.gz
Writing /tmp/easy_install-nfC1fv/lingua-3.7/setup.cfg
Running lingua-3.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-nfC1fv/lingua-3.7/egg-dist-tmp-WJ7o0u
Adding lingua 3.7 to easy-install.pth file
Installing pot-create script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installing polint script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/lingua-3.7-py2.7.egg
Searching for Babel
Reading https://pypi.python.org/simple/Babel/
Best match: Babel 1.3
Downloading https://pypi.python.org/packages/source/B/Babel/Babel-1.3.tar.gz#md5=5264ceb02717843cbc9ffce8e6e06bdb
Processing Babel-1.3.tar.gz
Writing /tmp/easy_install-ppeyV4/Babel-1.3/setup.cfg
Running Babel-1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ppeyV4/Babel-1.3/egg-dist-tmp-kQMxvF
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
Adding Babel 1.3 to easy-install.pth file
Installing pybabel script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/Babel-1.3-py2.7.egg
Searching for pyOpenSSL
Reading https://pypi.python.org/simple/pyOpenSSL/
Best match: pyOpenSSL 0.14
Downloading https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.14.tar.gz#md5=8579ff3a1d858858acfba5f046a4ddf7
Processing pyOpenSSL-0.14.tar.gz
Writing /tmp/easy_install-GgohON/pyOpenSSL-0.14/setup.cfg
Running pyOpenSSL-0.14/setup.py -q bdist_egg --dist-dir /tmp/easy_install-GgohON/pyOpenSSL-0.14/egg-dist-tmp-Fztowc
warning: no previously-included files matching '*.pyc' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
zip_safe flag not set; analyzing archive contents...
Adding pyOpenSSL 0.14 to easy-install.pth file
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg
Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Best match: cryptography 0.7.1
Downloading https://pypi.python.org/packages/source/c/cryptography/cryptography-0.7.1.tar.gz#md5=4a933b1e01b604cee0e22ce1f9fe7c81
Processing cryptography-0.7.1.tar.gz
Writing /tmp/easy_install-QRSTrh/cryptography-0.7.1/setup.cfg
Running cryptography-0.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QRSTrh/cryptography-0.7.1/egg-dist-tmp-ArjBY1
Searching for six>=1.4.1
Reading https://pypi.python.org/simple/six/
Best match: six 1.9.0
Downloading https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4
Processing six-1.9.0.tar.gz
Writing /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-FlBuMb/six-1.9.0/setup.cfg
Running six-1.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-FlBuMb/six-1.9.0/egg-dist-tmp-zHjolu
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
Installed /tmp/easy_install-QRSTrh/cryptography-0.7.1/six-1.9.0-py2.7.egg
Searching for pyasn1
Reading https://pypi.python.org/simple/pyasn1/
Best match: pyasn1 0.1.7
Downloading https://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.7-py2.7.egg#md5=15f079cabee01402bf86ca8b83356469
Processing pyasn1-0.1.7-py2.7.egg
Moving pyasn1-0.1.7-py2.7.egg to /tmp/easy_install-QRSTrh/cryptography-0.7.1
Installed /tmp/easy_install-QRSTrh/cryptography-0.7.1/pyasn1-0.1.7-py2.7.egg
Searching for enum34
Reading https://pypi.python.org/simple/enum34/
Best match: enum34 1.0.4
Downloading https://pypi.python.org/packages/source/e/enum34/enum34-1.0.4.zip#md5=9843e97527f3126c851df7afeb0524b3
Processing enum34-1.0.4.zip
Writing /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-mYbEuK/enum34-1.0.4/setup.cfg
Running enum34-1.0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-mYbEuK/enum34-1.0.4/egg-dist-tmp-Rx3RIW
zip_safe flag not set; analyzing archive contents...
Installed /tmp/easy_install-QRSTrh/cryptography-0.7.1/enum34-1.0.4-py2.7.egg
Searching for cffi>=0.8
Reading https://pypi.python.org/simple/cffi/
Best match: cffi 0.8.6
Downloading https://pypi.python.org/packages/source/c/cffi/cffi-0.8.6.tar.gz#md5=474b5a68299a6f05009171de1dc91be6
Processing cffi-0.8.6.tar.gz
Writing /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-L0eFWF/cffi-0.8.6/setup.cfg
Running cffi-0.8.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-L0eFWF/cffi-0.8.6/egg-dist-tmp-MdhYMU
compiling '_configtest.c':
__thread int some_threadlocal_variable_42;
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
Installed /tmp/easy_install-QRSTrh/cryptography-0.7.1/cffi-0.8.6-py2.7-linux-x86_64.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Best match: pycparser 2.10
Downloading https://pypi.python.org/packages/source/p/pycparser/pycparser-2.10.tar.gz#md5=d87aed98c8a9f386aa56d365fe4d515f
Processing pycparser-2.10.tar.gz
Writing /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-IJBfLk/pycparser-2.10/setup.cfg
Running pycparser-2.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QRSTrh/cryptography-0.7.1/temp/easy_install-IJBfLk/pycparser-2.10/egg-dist-tmp-CrPbTa
zip_safe flag not set; analyzing archive contents...
Installed /tmp/easy_install-QRSTrh/cryptography-0.7.1/pycparser-2.10-py2.7.egg
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
Adding cryptography 0.7.1 to easy-install.pth file
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/cryptography-0.7.1-py2.7-linux-x86_64.egg
Searching for pillow
Reading https://pypi.python.org/simple/pillow/
Best match: Pillow 2.7.0
Downloading https://pypi.python.org/packages/source/P/Pillow/Pillow-2.7.0.zip#md5=da10ee9d0c0712c942224300c2931a1a
Processing Pillow-2.7.0.zip
Writing /tmp/easy_install-FUk7qr/Pillow-2.7.0/setup.cfg
Running Pillow-2.7.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-FUk7qr/Pillow-2.7.0/egg-dist-tmp-FEaEdg
Building using 4 processes
Building using 4 processes
Building using 4 processes
Building using 4 processes
Building using 4 processes
Building using 4 processes
Building using 4 processes
--------------------------------------------------------------------
PIL SETUP SUMMARY
--------------------------------------------------------------------
version Pillow 2.7.0
platform linux2 2.7.8 (default, Nov 10 2014, 08:19:18)
[GCC 4.9.2 20141101 (Red Hat 4.9.2-1)]
--------------------------------------------------------------------
--- TKINTER support available
--- JPEG support available
*** OPENJPEG (JPEG2000) support not available
--- ZLIB (PNG/ZIP) support available
--- LIBTIFF support available
--- FREETYPE2 support available
--- LITTLECMS2 support available
--- WEBP support available
--- WEBPMUX support available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.
To check the build, run the selftest.py script.
Adding Pillow 2.7.0 to easy-install.pth file
Installing pildriver.py script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installing pilfile.py script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installing pilconvert.py script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installing pilfont.py script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installing pilprint.py script to /home/ricky/.virtualenvs/fas-python2.7/bin
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/Pillow-2.7.0-py2.7-linux-x86_64.egg
Searching for PyGithub
Reading https://pypi.python.org/simple/PyGithub/
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 766, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 330, in _handle_workers
debug('worker handler exiting')
TypeError: 'NoneType' object is not callable
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 766, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 357, in _handle_tasks
debug('task handler got sentinel')
TypeError: 'NoneType' object is not callable
Best match: PyGithub 1.25.2
Downloading https://pypi.python.org/packages/source/P/PyGithub/PyGithub-1.25.2.tar.gz#md5=18bb9d3fc1cebff8ab69eb57e85179a5
Processing PyGithub-1.25.2.tar.gz
Writing /tmp/easy_install-Rmzn1V/PyGithub-1.25.2/setup.cfg
Running PyGithub-1.25.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Rmzn1V/PyGithub-1.25.2/egg-dist-tmp-iB9cjs
zip_safe flag not set; analyzing archive contents...
github.tests.Framework: module references __file__
Exception TypeError: TypeError("'NoneType' object does not support item deletion",) in <Finalize object, dead> ignored
Adding PyGithub 1.25.2 to easy-install.pth file
Installed /home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/PyGithub-1.25.2-py2.7.egg
Searching for cryptacular
Reading https://pypi.python.org/simple/cryptacular/
Best match: cryptacular 1.4.1
Downloading https://pypi.python.org/packages/source/c/cryptacular/cryptacular-1.4.1.tar.gz#md5=fe12232ac660185186dd8057d8ca7b0e
Processing cryptacular-1.4.1.tar.gz
Writing /tmp/easy_install-n793tW/cryptacular-1.4.1/setup.cfg
Running cryptacular-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-n793tW/cryptacular-1.4.1/egg-dist-tmp-hQWbnw
Traceback (most recent call last):
File "setup.py", line 80, in <module>
('static/**', 'ignore', None),
File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/develop.py", line 27, in run
self.install_for_development()
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/develop.py", line 129, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 682, in process_distribution
[requirement], self.local_index, self.easy_install
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/pkg_resources.py", line 871, in best_match
return self.obtain(req, installer)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/pkg_resources.py", line 883, in obtain
return installer(requirement)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 595, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 625, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 822, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1028, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1013, in run_setup
run_setup(setup_script, args)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/sandbox.py", line 52, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 56, in <module>
"Topic :: Internet :: WWW/HTTP",
File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 157, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 143, in call_command
self.run_command(cmdname)
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/install_lib.py", line 8, in run
self.build()
File "/usr/lib64/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 49, in run
_build_ext.run(self)
File "/usr/lib64/python2.7/distutils/command/build_ext.py", line 337, in run
self.build_extensions()
File "/usr/lib64/python2.7/distutils/command/build_ext.py", line 446, in build_extensions
self.build_extension(ext)
File "/home/ricky/.virtualenvs/fas-python2.7/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 178, in build_extension
_build_ext.build_extension(self,ext)
File "/usr/lib64/python2.7/distutils/command/build_ext.py", line 496, in build_extension
depends=ext.depends)
File "/tmp/easy_install-FUk7qr/Pillow-2.7.0/mp_compile.py", line 39, in _mp_compile
TypeError: 'NoneType' object is not callable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment