You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the way read() reads its input file, the string it returns will have different contents depending on the line ending used in the file. This means that the install fails on Windows, because the CHANGELOG regex looks for '\n', or LF, but since line endings are CRLF on Windows, the regex won't match.
See the log:
> pip install .
...
Complete output from command c:\users\crazy\appdata\local\programs\python\python37\python.exe c:\users\crazy\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\crazy\AppData\Local\Temp\tmpghg6p1e3:
Traceback (most recent call last):
File "c:\users\crazy\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "c:\users\crazy\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\crazy\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\crazy\AppData\Local\Temp\pip-build-env-6f560u2s\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\crazy\AppData\Local\Temp\pip-build-env-6f560u2s\overlay\Lib\site-packages\setuptools\build_meta.py", line 126, in _get_build_requires
self.run_setup()
File "C:\Users\crazy\AppData\Local\Temp\pip-build-env-6f560u2s\overlay\Lib\site-packages\setuptools\build_meta.py", line 141, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 99, in <module>
+ read("AUTHORS.rst")
AttributeError: 'NoneType' object has no attribute 'group'
The text was updated successfully, but these errors were encountered:
Because of the way
read()
reads its input file, the string it returns will have different contents depending on the line ending used in the file. This means that the install fails on Windows, because theCHANGELOG
regex looks for'\n'
, orLF
, but since line endings areCRLF
on Windows, the regex won't match.See the log:
The text was updated successfully, but these errors were encountered: