tests/test-version-install.t
branchstable
changeset 4876 1a47cc2728ff
parent 4875 164543ac3277
child 4877 77e5c733200a
equal deleted inserted replaced
4875:164543ac3277 4876:1a47cc2728ff
    16   Enabled extensions:
    16   Enabled extensions:
    17   
    17   
    18     evolve  external  * (glob)
    18     evolve  external  * (glob)
    19 
    19 
    20 Test install
    20 Test install
    21 BROKEN: can't call setup.py from a different dir
    21 #if py3
       
    22 BROKEN: unicode errors opening the README
    22   $ "$PYTHON" "$TESTDIR/../setup.py" install --root "$TESTTMP/installtest" > /dev/null
    23   $ "$PYTHON" "$TESTDIR/../setup.py" install --root "$TESTTMP/installtest" > /dev/null
    23   Traceback (most recent call last):
    24   Traceback (most recent call last):
    24     File "*/../setup.py", line *, in <module> (glob)
    25     File "*/../setup.py", line *, in <module> (glob)
    25       long_description=open('README').read(),
    26       long_description=open(join(dirname(__file__), 'README')).read(),
    26   IOError: [Errno 2] No such file or directory: 'README' (no-py3 !)
    27     File "*/encodings/ascii.py", line *, in decode (glob)
    27   FileNotFoundError: [Errno 2] No such file or directory: 'README' (py3 !)
    28       return codecs.ascii_decode(input, self.errors)[0]
       
    29   UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 460: ordinal not in range(128)
    28   [1]
    30   [1]
       
    31 #else
       
    32 TODO: fix warning
       
    33   $ "$PYTHON" "$TESTDIR/../setup.py" install --root "$TESTTMP/installtest" > /dev/null
       
    34   */distutils/dist.py:*: UserWarning: Unknown distribution option: 'python_requires' (glob)
       
    35     warnings.warn(msg)
       
    36 #endif