-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (28 loc) · 702 Bytes
/
setup.py
File metadata and controls
34 lines (28 loc) · 702 Bytes
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
import sys
try:
import setuptools
from setuptools import setup
except ImportError:
setuptools = None
from distutils.core import setup
version = '0.0.1'
kwargs = {}
if setuptools is not None:
kwargs['install_requires'] = ['tornado>=4.3']
if sys.version_info < (3, 4):
kwargs['install_requires'].append('enum34')
setup(
name='tornado_http2',
version=version,
packages=['tornado_http2', 'tornado_http2.test'],
package_data={
'tornado_http2': [
'hpack_static_table.txt',
'hpack_huffman_data.txt',
],
'tornado_http2.test': [
'test.crt',
'test.key',
],
},
**kwargs)