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
48 lines (42 loc) · 1.35 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (42 loc) · 1.35 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
"""setup.py
Upload to PyPI, Thx to: http://peterdowns.com/posts/first-time-with-pypi.html
python3 setup.py register -r pypitest
python3 setup.py sdist upload -r pypitest
python3 setup.py register -r pypi
python3 setup.py sdist upload -r pypi
"""
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'
],
)