forked from cesbit/qpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.3 KB
/
setup.py
File metadata and controls
51 lines (44 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
"""setup.py
Upload to PyPI:
Build
python setup.py sdist bdist_wheel
Upload to Test PyPI
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Upload to PyPI
twine upload dist/*
"""
import setuptools
from distutils.core import setup, Extension
from qpack import __version__
module = Extension(
'qpack._qpack',
define_macros=[],
include_dirs=['./qpack'],
libraries=[],
sources=['./qpack/_qpack.c'],
extra_compile_args=["--std=c99", "-pedantic"]
)
VERSION = __version__
setup(
name='qpack',
packages=['qpack'],
version=VERSION,
description='QPack (de)serializer',
author='Jeroen van der Heijden',
author_email='jeroen@transceptor.technology',
url='https://github.com/transceptor-technology/qpack',
ext_modules=[module],
download_url='https://github.com/transceptor-technology/'
'qpack/tarball/{}'.format(VERSION),
keywords=['serializer', 'deserializer'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development'
],
)