pycrypto install issues
Closed this issue · 3 comments
urda commented
pip install -U -r requirements-dev.txt
Collecting requests (from -r requirements.txt (line 1))
Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
100% |████████████████████████████████| 499kB 1.7MB/s
Collecting pycrypto (from -r requirements.txt (line 2))
Downloading pycrypto-2.6.1.tar.gz (446kB)
100% |████████████████████████████████| 446kB 1.9MB/s
Collecting coveralls (from -r requirements-test.txt (line 2))
Downloading coveralls-1.1-py2.py3-none-any.whl
Collecting pep8 (from -r requirements-test.txt (line 3))
Downloading pep8-1.6.2-py2.py3-none-any.whl (40kB)
100% |████████████████████████████████| 40kB 10.8MB/s
Collecting pytest (from -r requirements-test.txt (line 4))
Downloading pytest-2.8.3-py2.py3-none-any.whl (149kB)
100% |████████████████████████████████| 151kB 2.2MB/s
Collecting pytest-cov (from -r requirements-test.txt (line 5))
Downloading pytest_cov-2.2.0-py2.py3-none-any.whl
Collecting ipython[all] (from -r requirements-dev.txt (line 2))
Downloading ipython-4.0.1-py3-none-any.whl (730kB)
100% |████████████████████████████████| 733kB 1.1MB/s
Collecting coverage>=3.6 (from coveralls->-r requirements-test.txt (line 2))
Downloading coverage-4.0.3.tar.gz (354kB)
100% |████████████████████████████████| 356kB 2.1MB/s
Collecting docopt>=0.6.1 (from coveralls->-r requirements-test.txt (line 2))
Downloading docopt-0.6.2.tar.gz
Collecting py>=1.4.29 (from pytest->-r requirements-test.txt (line 4))
Downloading py-1.4.31-py2.py3-none-any.whl (81kB)
100% |████████████████████████████████| 86kB 8.1MB/s
Collecting pexpect (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading pexpect-4.0.1.tar.gz (143kB)
100% |████████████████████████████████| 147kB 4.6MB/s
Collecting simplegeneric>0.8 (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading simplegeneric-0.8.1.zip
Collecting traitlets (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading traitlets-4.0.0-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 57kB 8.0MB/s
Collecting decorator (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading decorator-4.0.4-py2.py3-none-any.whl
Collecting pickleshare (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading pickleshare-0.5.tar.gz
Collecting notebook (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading notebook-4.0.6-py2.py3-none-any.whl (5.6MB)
100% |████████████████████████████████| 5.6MB 118kB/s
Collecting ipyparallel (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading ipyparallel-4.1.0-py2.py3-none-any.whl (165kB)
100% |████████████████████████████████| 167kB 4.9MB/s
Collecting qtconsole (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading qtconsole-4.1.1-py2.py3-none-any.whl (98kB)
100% |████████████████████████████████| 102kB 6.4MB/s
Collecting nose>=0.10.1 (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading nose-1.3.7-py3-none-any.whl (154kB)
100% |████████████████████████████████| 155kB 2.6MB/s
Collecting testpath (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading testpath-0.2-py2.py3-none-any.whl
Collecting numpydoc (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading numpydoc-0.5.tar.gz
Collecting nbconvert (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading nbconvert-4.1.0-py2.py3-none-any.whl (281kB)
100% |████████████████████████████████| 282kB 2.0MB/s
Collecting Sphinx>=1.1 (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading Sphinx-1.3.3-py2.py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 619kB/s
Collecting ipykernel (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading ipykernel-4.2.0-py2.py3-none-any.whl (90kB)
100% |████████████████████████████████| 94kB 8.1MB/s
Collecting nbformat (from ipython[all]->-r requirements-dev.txt (line 2))
Downloading nbformat-4.0.1-py2.py3-none-any.whl (138kB)
100% |████████████████████████████████| 139kB 3.1MB/s
Collecting ptyprocess>=0.5 (from pexpect->ipython[all]->-r requirements-dev.txt (line 2))
Downloading ptyprocess-0.5.tar.gz
Collecting ipython-genutils (from traitlets->ipython[all]->-r requirements-dev.txt (line 2))
Downloading ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting path.py (from pickleshare->ipython[all]->-r requirements-dev.txt (line 2))
Downloading path.py-8.1.2-py2.py3-none-any.whl
Collecting jinja2 (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
100% |████████████████████████████████| 266kB 3.7MB/s
Collecting tornado>=4 (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading tornado-4.3.tar.gz (450kB)
100% |████████████████████████████████| 454kB 2.0MB/s
Collecting jupyter-core (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading jupyter_core-4.0.6-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 77kB 9.0MB/s
Collecting terminado>=0.3.3 (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading terminado-0.5.tar.gz
Collecting jupyter-client (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading jupyter_client-4.1.1-py2.py3-none-any.whl (70kB)
100% |████████████████████████████████| 73kB 9.4MB/s
Collecting pyzmq>=13 (from ipyparallel->ipython[all]->-r requirements-dev.txt (line 2))
Downloading pyzmq-15.1.0.tar.gz (1.1MB)
100% |████████████████████████████████| 1.1MB 823kB/s
Collecting pygments (from qtconsole->ipython[all]->-r requirements-dev.txt (line 2))
Downloading Pygments-2.0.2-py3-none-any.whl (672kB)
100% |████████████████████████████████| 675kB 1.3MB/s
Collecting mistune!=0.6 (from nbconvert->ipython[all]->-r requirements-dev.txt (line 2))
Downloading mistune-0.7.1-py2.py3-none-any.whl
Collecting sphinx-rtd-theme<2.0,>=0.1 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading sphinx_rtd_theme-0.1.9-py3-none-any.whl (693kB)
100% |████████████████████████████████| 696kB 1.2MB/s
Collecting docutils>=0.11 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading docutils-0.12-py3-none-any.whl (508kB)
100% |████████████████████████████████| 512kB 1.5MB/s
Collecting alabaster<0.8,>=0.7 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading alabaster-0.7.6.tar.gz
Collecting snowballstemmer>=1.1 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading snowballstemmer-1.2.0.tar.gz (49kB)
100% |████████████████████████████████| 53kB 2.9MB/s
Collecting six>=1.4 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting babel!=2.0,>=1.3 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading Babel-2.1.1-py2.py3-none-any.whl (3.6MB)
100% |████████████████████████████████| 3.6MB 224kB/s
Collecting jsonschema!=2.5.0,>=2.0 (from nbformat->ipython[all]->-r requirements-dev.txt (line 2))
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting MarkupSafe (from jinja2->notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading MarkupSafe-0.23.tar.gz
Collecting backports-abc>=0.4 (from tornado>=4->notebook->ipython[all]->-r requirements-dev.txt (line 2))
Downloading backports_abc-0.4-py2.py3-none-any.whl
Collecting pytz>=0a (from babel!=2.0,>=1.3->Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Downloading pytz-2015.7-py2.py3-none-any.whl (476kB)
100% |████████████████████████████████| 479kB 1.4MB/s
Installing collected packages: requests, pycrypto, coverage, docopt, coveralls, pep8, py, pytest, pytest-cov, ptyprocess, pexpect, simplegeneric, ipython-genutils, decorator, traitlets, path.py, pickleshare, MarkupSafe, jinja2, backports-abc, tornado, mistune, pygments, jupyter-core, jsonschema, nbformat, nbconvert, pyzmq, jupyter-client, ipykernel, terminado, notebook, ipyparallel, qtconsole, nose, testpath, numpydoc, sphinx-rtd-theme, docutils, alabaster, snowballstemmer, six, pytz, babel, Sphinx, ipython
Running setup.py install for pycrypto
Complete output from command /home/purda/.virtualenvs/nist/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-6cd5zyc5/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-q6xjv98z-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/purda/.virtualenvs/nist/include/site/python3.4/pycrypto:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.4
creating build/lib.linux-x86_64-3.4/Crypto
copying lib/Crypto/pct_warnings.py -> build/lib.linux-x86_64-3.4/Crypto
copying lib/Crypto/__init__.py -> build/lib.linux-x86_64-3.4/Crypto
creating build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/SHA384.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/SHA224.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/MD5.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/HMAC.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/hashalgo.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/SHA.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/MD4.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/RIPEMD.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/MD2.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
copying lib/Crypto/Hash/SHA512.py -> build/lib.linux-x86_64-3.4/Crypto/Hash
creating build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/ARC4.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/DES.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/blockalgo.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/XOR.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/AES.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-x86_64-3.4/Crypto/Cipher
creating build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/asn1.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/number.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/winrandom.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/Counter.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/_number_new.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/randpool.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/RFC1751.py -> build/lib.linux-x86_64-3.4/Crypto/Util
copying lib/Crypto/Util/py3compat.py -> build/lib.linux-x86_64-3.4/Crypto/Util
creating build/lib.linux-x86_64-3.4/Crypto/Random
copying lib/Crypto/Random/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Random
copying lib/Crypto/Random/random.py -> build/lib.linux-x86_64-3.4/Crypto/Random
copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.linux-x86_64-3.4/Crypto/Random
creating build/lib.linux-x86_64-3.4/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.linux-x86_64-3.4/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.linux-x86_64-3.4/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.linux-x86_64-3.4/Crypto/Random/Fortuna
creating build/lib.linux-x86_64-3.4/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.linux-x86_64-3.4/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.linux-x86_64-3.4/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.linux-x86_64-3.4/Crypto/Random/OSRNG
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest
copying lib/Crypto/SelfTest/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest
copying lib/Crypto/SelfTest/st_common.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Cipher
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Hash
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Protocol
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/PublicKey
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/Fortuna
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Random/OSRNG
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Util
creating build/lib.linux-x86_64-3.4/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.linux-x86_64-3.4/Crypto/SelfTest/Signature
creating build/lib.linux-x86_64-3.4/Crypto/Protocol
copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Protocol
copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.linux-x86_64-3.4/Crypto/Protocol
copying lib/Crypto/Protocol/Chaffing.py -> build/lib.linux-x86_64-3.4/Crypto/Protocol
copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-x86_64-3.4/Crypto/Protocol
creating build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/_RSA.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/_DSA.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/pubkey.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.linux-x86_64-3.4/Crypto/PublicKey
creating build/lib.linux-x86_64-3.4/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-x86_64-3.4/Crypto/Signature
copying lib/Crypto/Signature/__init__.py -> build/lib.linux-x86_64-3.4/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-x86_64-3.4/Crypto/Signature
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
running build_ext
running build_configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __gmpz_init in -lgmp... no
checking for __gmpz_init in -lmpir... no
checking whether mpz_powm is declared... no
checking whether mpz_powm_sec is declared... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating src/config.h
building 'Crypto.Hash._MD2' extension
creating build/temp.linux-x86_64-3.4
creating build/temp.linux-x86_64-3.4/src
x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python3.4m -I/home/purda/.virtualenvs/nist/include/python3.4m -c src/MD2.c -o build/temp.linux-x86_64-3.4/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/home/purda/.virtualenvs/nist/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-6cd5zyc5/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-q6xjv98z-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/purda/.virtualenvs/nist/include/site/python3.4/pycrypto" failed with error code 1 in /tmp/pip-build-6cd5zyc5/pycrypto
urda commented
Looks like apt-get install python3-dev
corrects this problem on Ubuntu 14.04
Terminal Log
╔═[purda@purda-ubuntu-vm : ~/github/py_nist_beacon]─────────────────────────────────────────────────────────────────────
╠═[git : master]
╠═[virtualenv : nist]
╚═ $ sudo apt-get install python3-dev
[sudo] password for purda:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libexpat1-dev libpython3-dev libpython3.4-dev python3.4-dev
The following NEW packages will be installed:
libexpat1-dev libpython3-dev libpython3.4-dev python3-dev python3.4-dev
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.3 MB of archives.
After this operation, 31.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libexpat1-dev amd64 2.1.0-4ubuntu1.1 [115 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libpython3.4-dev amd64 3.4.3-1ubuntu1~14.04.3 [17.8 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main libpython3-dev amd64 3.4.0-0ubuntu2 [7,002 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python3.4-dev amd64 3.4.3-1ubuntu1~14.04.3 [419 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main python3-dev amd64 3.4.0-0ubuntu2 [1,192 B]
Fetched 18.3 MB in 4s (3,984 kB/s)
Selecting previously unselected package libexpat1-dev:amd64.
(Reading database ... 196764 files and directories currently installed.)
Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-4ubuntu1.1) ...
Selecting previously unselected package libpython3.4-dev:amd64.
Preparing to unpack .../libpython3.4-dev_3.4.3-1ubuntu1~14.04.3_amd64.deb ...
Unpacking libpython3.4-dev:amd64 (3.4.3-1ubuntu1~14.04.3) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../libpython3-dev_3.4.0-0ubuntu2_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.4.0-0ubuntu2) ...
Selecting previously unselected package python3.4-dev.
Preparing to unpack .../python3.4-dev_3.4.3-1ubuntu1~14.04.3_amd64.deb ...
Unpacking python3.4-dev (3.4.3-1ubuntu1~14.04.3) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.4.0-0ubuntu2_amd64.deb ...
Unpacking python3-dev (3.4.0-0ubuntu2) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libexpat1-dev:amd64 (2.1.0-4ubuntu1.1) ...
Setting up libpython3.4-dev:amd64 (3.4.3-1ubuntu1~14.04.3) ...
Setting up libpython3-dev:amd64 (3.4.0-0ubuntu2) ...
Setting up python3.4-dev (3.4.3-1ubuntu1~14.04.3) ...
Setting up python3-dev (3.4.0-0ubuntu2) ...
╔═[purda@purda-ubuntu-vm : ~/github/py_nist_beacon]─────────────────────────────────────────────────────────────────────
╠═[git : master]
╠═[virtualenv : nist]
╚═ $ pip install -U -r requirements-dev.txt
Requirement already up-to-date: requests in /home/purda/.virtualenvs/nist/lib/python3.4/site-packages
(from -r requirements.txt (line 1))
Collecting pycrypto (from -r requirements.txt (line 2))
Using cached pycrypto-2.6.1.tar.gz
Collecting coveralls (from -r requirements-test.txt (line 2))
Using cached coveralls-1.1-py2.py3-none-any.whl
Collecting pep8 (from -r requirements-test.txt (line 3))
Using cached pep8-1.6.2-py2.py3-none-any.whl
Collecting pytest (from -r requirements-test.txt (line 4))
Using cached pytest-2.8.3-py2.py3-none-any.whl
Collecting pytest-cov (from -r requirements-test.txt (line 5))
Using cached pytest_cov-2.2.0-py2.py3-none-any.whl
Collecting ipython[all] (from -r requirements-dev.txt (line 2))
Using cached ipython-4.0.1-py3-none-any.whl
Collecting coverage>=3.6 (from coveralls->-r requirements-test.txt (line 2))
Using cached coverage-4.0.3.tar.gz
Collecting docopt>=0.6.1 (from coveralls->-r requirements-test.txt (line 2))
Using cached docopt-0.6.2.tar.gz
Collecting py>=1.4.29 (from pytest->-r requirements-test.txt (line 4))
Using cached py-1.4.31-py2.py3-none-any.whl
Collecting decorator (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached decorator-4.0.4-py2.py3-none-any.whl
Collecting pexpect (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached pexpect-4.0.1.tar.gz
Collecting simplegeneric>0.8 (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached simplegeneric-0.8.1.zip
Collecting pickleshare (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached pickleshare-0.5.tar.gz
Collecting traitlets (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached traitlets-4.0.0-py2.py3-none-any.whl
Collecting testpath (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached testpath-0.2-py2.py3-none-any.whl
Collecting nbconvert (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached nbconvert-4.1.0-py2.py3-none-any.whl
Collecting nbformat (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached nbformat-4.0.1-py2.py3-none-any.whl
Collecting qtconsole (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached qtconsole-4.1.1-py2.py3-none-any.whl
Collecting ipyparallel (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached ipyparallel-4.1.0-py2.py3-none-any.whl
Collecting notebook (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached notebook-4.0.6-py2.py3-none-any.whl
Collecting nose>=0.10.1 (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached nose-1.3.7-py3-none-any.whl
Collecting numpydoc (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached numpydoc-0.5.tar.gz
Collecting ipykernel (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached ipykernel-4.2.0-py2.py3-none-any.whl
Collecting Sphinx>=1.1 (from ipython[all]->-r requirements-dev.txt (line 2))
Using cached Sphinx-1.3.3-py2.py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect->ipython[all]->-r requirements-dev.txt (line 2))
Using cached ptyprocess-0.5.tar.gz
Collecting path.py (from pickleshare->ipython[all]->-r requirements-dev.txt (line 2))
Using cached path.py-8.1.2-py2.py3-none-any.whl
Collecting ipython-genutils (from traitlets->ipython[all]->-r requirements-dev.txt (line 2))
Using cached ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting mistune!=0.6 (from nbconvert->ipython[all]->-r requirements-dev.txt (line 2))
Using cached mistune-0.7.1-py2.py3-none-any.whl
Collecting pygments (from nbconvert->ipython[all]->-r requirements-dev.txt (line 2))
Using cached Pygments-2.0.2-py3-none-any.whl
Collecting jupyter-core (from nbconvert->ipython[all]->-r requirements-dev.txt (line 2))
Using cached jupyter_core-4.0.6-py2.py3-none-any.whl
Collecting jinja2 (from nbconvert->ipython[all]->-r requirements-dev.txt (line 2))
Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting jsonschema!=2.5.0,>=2.0 (from nbformat->ipython[all]->-r requirements-dev.txt (line 2))
Using cached jsonschema-2.5.1-py2.py3-none-any.whl
Collecting jupyter-client>=4.1 (from qtconsole->ipython[all]->-r requirements-dev.txt (line 2))
Using cached jupyter_client-4.1.1-py2.py3-none-any.whl
Collecting pyzmq>=13 (from ipyparallel->ipython[all]->-r requirements-dev.txt (line 2))
Using cached pyzmq-15.1.0.tar.gz
Collecting terminado>=0.3.3 (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Using cached terminado-0.5.tar.gz
Collecting tornado>=4 (from notebook->ipython[all]->-r requirements-dev.txt (line 2))
Using cached tornado-4.3.tar.gz
Collecting six>=1.4 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting docutils>=0.11 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached docutils-0.12-py3-none-any.whl
Collecting babel!=2.0,>=1.3 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached Babel-2.1.1-py2.py3-none-any.whl
Collecting sphinx-rtd-theme<2.0,>=0.1 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached sphinx_rtd_theme-0.1.9-py3-none-any.whl
Collecting alabaster<0.8,>=0.7 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached alabaster-0.7.6.tar.gz
Collecting snowballstemmer>=1.1 (from Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached snowballstemmer-1.2.0.tar.gz
Collecting MarkupSafe (from jinja2->nbconvert->ipython[all]->-r requirements-dev.txt (line 2))
Using cached MarkupSafe-0.23.tar.gz
Collecting backports-abc>=0.4 (from tornado>=4->notebook->ipython[all]->-r requirements-dev.txt (line 2))
Using cached backports_abc-0.4-py2.py3-none-any.whl
Collecting pytz>=0a (from babel!=2.0,>=1.3->Sphinx>=1.1->ipython[all]->-r requirements-dev.txt (line 2))
Using cached pytz-2015.7-py2.py3-none-any.whl
Installing collected packages: pycrypto, coverage, docopt, coveralls, pep8, py, pytest, pytest-cov, decorator,
ptyprocess, pexpect, simplegeneric, path.py, pickleshare, ipython-genutils, traitlets, testpath, mistune, jsonschema,
jupyter-core, nbformat, pygments, MarkupSafe, jinja2, nbconvert, pyzmq, jupyter-client, ipykernel, qtconsole,
ipyparallel, backports-abc, tornado, terminado, notebook, nose, numpydoc, six, docutils, pytz, babel, sphinx-rtd-theme,
alabaster, snowballstemmer, Sphinx, ipython
Running setup.py install for pycrypto
Running setup.py install for coverage
Running setup.py install for docopt
Running setup.py install for ptyprocess
Running setup.py install for pexpect
Running setup.py install for simplegeneric
Running setup.py install for pickleshare
Running setup.py install for MarkupSafe
Running setup.py install for pyzmq
Running setup.py install for tornado
Running setup.py install for terminado
Running setup.py install for numpydoc
Running setup.py install for alabaster
Running setup.py install for snowballstemmer
Successfully installed MarkupSafe-0.23 Sphinx-1.3.3 alabaster-0.7.6 babel-2.1.1 backports-abc-0.4 coverage-4.0.3
coveralls-1.1 decorator-4.0.4 docopt-0.6.2 docutils-0.12 ipykernel-4.2.0 ipyparallel-4.1.0 ipython-4.0.1
ipython-genutils-0.1.0 jinja2-2.8 jsonschema-2.5.1 jupyter-client-4.1.1 jupyter-core-4.0.6 mistune-0.7.1 nbconvert-4.1.0
nbformat-4.0.1 nose-1.3.7 notebook-4.0.6 numpydoc-0.5 path.py-8.1.2 pep8-1.6.2 pexpect-4.0.1 pickleshare-0.5
ptyprocess-0.5 py-1.4.31 pycrypto-2.6.1 pygments-2.0.2 pytest-2.8.3 pytest-cov-2.2.0 pytz-2015.7 pyzmq-15.1.0
qtconsole-4.1.1 simplegeneric-0.8.1 six-1.10.0 snowballstemmer-1.2.0 sphinx-rtd-theme-0.1.9 terminado-0.5 testpath-0.2
tornado-4.3 traitlets-4.0.0
╔═[purda@purda-ubuntu-vm : ~/github/py_nist_beacon]─────────────────────────────────────────────────────────────────────
╠═[git : master]
╠═[virtualenv : nist]
╚═ $ make travis
py.test -r fEsxXw --verbose --cov py_nist_beacon --cov-report html
================================================= test session starts =================================================
platform linux -- Python 3.4.3, pytest-2.8.3, py-1.4.31, pluggy-0.3.1 -- /home/purda/.virtualenvs/nist/bin/python3
cachedir: .cache
rootdir: /home/purda/github/py_nist_beacon, inifile:
plugins: cov-2.2.0
collected 21 items
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_chain_check_init PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_chain_check_last PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_chain_check_majority PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_chain_check_none PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_chain_check_wat PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_get_last_record PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_get_last_record_404 PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_get_last_record_exceptions PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_get_next PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_get_previous PASSED
tests/test_NistRandomnessBeacon.py::TestNistRandomnessBeacon::test_get_record PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_equality_operators PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_from_json PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_from_xml PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_init PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_json_error_handling PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_to_json PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_to_xml PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_verify_signature PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_verify_signature_invalid PASSED
tests/test_NistRandomnessBeaconValue.py::TestNistRandomnessBeaconValue::test_xml_error_handling PASSED
----------------------------------- coverage: platform linux, python 3.4.3-final-0 ------------------------------------
Coverage HTML written to dir htmlcov
============================================= 21 passed in 17.39 seconds ==============================================
pep8 ./py_nist_beacon/*.py ./scripts/*.py ./tests/*.py
./scripts/dogfood.py --debug
[ REDACTED ]
next_record .................. [PASS]
previous_record .............. [PASS]
last_record .................. [PASS]
get_record ................... [PASS]
./scripts/version_manager.py check
Versions look OK across the project
Version: '0.6.0'
╔═[purda@purda-ubuntu-vm : ~/github/py_nist_beacon]─────────────────────────────────────────────────────────────────────
╠═[git : master]
╠═[virtualenv : nist]
╚═ $
urda commented
Important to note This python3-dev
package will be required by Ubuntu users to be installed. So yeah, going to need to work that into the README
.