enforce E501 in setup.py (MR 2058)
This commit is contained in:
parent
e27bb82252
commit
2b8efb996b
6
setup.py
6
setup.py
|
@ -29,7 +29,8 @@ here = path.abspath(path.dirname(__file__))
|
|||
_version_re = re.compile(r'version\s+=\s+(.*)')
|
||||
|
||||
with open(path.join(here, 'pmb/config/__init__.py'), 'rb') as f:
|
||||
version = str(ast.literal_eval(_version_re.search(f.read().decode('utf-8')).group(1)))
|
||||
version = str(ast.literal_eval(_version_re.search(
|
||||
f.read().decode('utf-8')).group(1)))
|
||||
|
||||
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
@ -38,7 +39,8 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|||
setup(
|
||||
name='pmbootstrap',
|
||||
version=version,
|
||||
description='A sophisticated chroot / build / flash tool to develop and install postmarketOS',
|
||||
description='A sophisticated chroot / build / flash tool to '
|
||||
'develop and install postmarketOS',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
author='postmarketOS Developers',
|
||||
|
|
Loading…
Reference in New Issue