Skip to content

Commit

Permalink
Fix regex, format with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatCabbage committed Nov 11, 2020
1 parent 3ea21bc commit fd6ae27
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,46 @@

from setuptools import setup

with open('qasync/__init__.py') as f:
version = re.search(r'__version__\s+=\s+\'(.*)\'', f.read()).group(1)
with open("qasync/__init__.py") as f:
version = re.search(r'__version__\s+=\s+"(.*)"', f.read()).group(1)

desc_path = os.path.join(os.path.dirname(__file__), 'README.md')
with open(desc_path, encoding='utf8') as desc_file:
desc_path = os.path.join(os.path.dirname(__file__), "README.md")
with open(desc_path, encoding="utf8") as desc_file:
long_description = desc_file.read()

setup(
name='qasync',
name="qasync",
version=version,
url='https://github.com/CabbageDevelopment/qasync',
author=', '.join(('Sam McCormack',
'Gerard Marull-Paretas',
'Mark Harviston',
'Arve Knudsen')),
author_email=', '.join(('[email protected]',
'[email protected]',
'[email protected]',
'[email protected]')),
packages=['qasync'],
url="https://github.com/CabbageDevelopment/qasync",
author=", ".join(
("Sam McCormack", "Gerard Marull-Paretas", "Mark Harviston", "Arve Knudsen")
),
author_email=", ".join(
(
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
)
),
packages=["qasync"],
python_requires="~=3.6",
license='BSD',
description='Implementation of the PEP 3156 Event-Loop with Qt.',
license="BSD",
description="Implementation of the PEP 3156 Event-Loop with Qt.",
long_description=long_description,
long_description_content_type="text/markdown",
keywords=['Qt', 'asyncio'],
keywords=["Qt", "asyncio"],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'Environment :: X11 Applications :: Qt',
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Environment :: X11 Applications :: Qt",
],
)

0 comments on commit fd6ae27

Please sign in to comment.