Skip to content

Commit

Permalink
[setup] run black, add python 3.8 and topic
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaine committed Sep 4, 2019
1 parent 3a7efbc commit 9b51b07
Showing 1 changed file with 25 additions and 38 deletions.
63 changes: 25 additions & 38 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,43 @@
import setuptools

root_dir = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(root_dir, 'README.rst')
with open(readme_file, encoding='utf-8') as f:
readme_file = os.path.join(root_dir, "README.rst")
with open(readme_file, encoding="utf-8") as f:
long_description = f.read()

setuptools.setup(
name='aioquic',
version='0.7.1',
description='An implementation of QUIC and HTTP/3',
name="aioquic",
version="0.7.1",
description="An implementation of QUIC and HTTP/3",
long_description=long_description,
url='https://github.com/aiortc/aioquic',
author='Jeremy Lainé',
author_email='[email protected]',
license='BSD',
url="https://github.com/aiortc/aioquic",
author="Jeremy Lainé",
author_email="[email protected]",
license="BSD",
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
],
ext_modules=[
setuptools.Extension("aioquic._buffer", sources=["src/_buffer.c"]),
setuptools.Extension(
'aioquic._buffer',
sources=[
'src/_buffer.c',
],
"aioquic._crypto", libraries=["crypto"], sources=["src/_crypto.c"]
),
setuptools.Extension(
'aioquic._crypto',
libraries=['crypto'],
sources=[
'src/_crypto.c',
],
)
],
packages=[
'aioquic',
'aioquic.asyncio',
'aioquic.h0',
'aioquic.h3',
'aioquic.quic',
],
packages=["aioquic", "aioquic.asyncio", "aioquic.h0", "aioquic.h3", "aioquic.quic"],
install_requires=[
'cryptography >= 2.5',
"cryptography >= 2.5",
'dataclasses; python_version < "3.7"',
'pylsqpack >= 0.2.3, < 0.3.0',
"pylsqpack >= 0.2.3, < 0.3.0",
],
)

0 comments on commit 9b51b07

Please sign in to comment.