testing-cabal / linecache2

Backport of the Python stdlib linecache module
1 stars 5 forks source link

Fails to install #1

Closed BenFilingBugs closed 9 years ago

BenFilingBugs commented 9 years ago
[user@centos7 ~ ] virtualenv venv
New python executable in venv/bin/python
Installing Setuptools..............................................................................................................................................................................................................................done.
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
[user@centos7 ~ ] source venv/bin/activate
(venv)[user@centos7 ~ ] pip install linecache2
Downloading/unpacking linecache2
  Using download cache from /home/user/.cache/pip/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fl%2Flinecache2%2Flinecache2-1.0.0.tar.gz
  Running setup.py egg_info for package linecache2

    Installed /home/user/venv/build/linecache2/pbr-0.10.8-py2.7.egg
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installing collected packages: linecache2
  Running setup.py install for linecache2
    [pbr] Reusing existing SOURCES.txt
      File "/home/user/venv/lib/python2.7/site-packages/linecache2/tests/inspect_fodder2.py", line 102
        def keyworded(*arg1, arg2=1):
                                ^
    SyntaxError: invalid syntax

Successfully installed linecache2
Cleaning up...
rbtcollins commented 9 years ago

Thats installed just fine. The test script in question hasn't compiled, but thats ok,