This repository was archived by the owner on Feb 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup_crest.py
More file actions
67 lines (63 loc) · 1.77 KB
/
setup_crest.py
File metadata and controls
67 lines (63 loc) · 1.77 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# @file setup_crest.py
#
# Copyright (C) Metaswitch Networks 2017
# If license terms are provided to you in a COPYING file in the root directory
# of the source code repository by which you are accessing this code, then
# the license outlined in that COPYING file applies to your use.
# Otherwise no rights are granted except for those provided to you by
# Metaswitch Networks in a separate written agreement.
import logging
import sys
# Workaround bug in multiprocessing - http://bugs.python.org/issue15881
# Without this, running tests involving twisted throws an error on completion
try:
import multiprocessing
except ImportError:
pass
from setuptools import setup, find_packages
from logging import StreamHandler
_log = logging.getLogger("crest")
_log.setLevel(logging.DEBUG)
_handler = StreamHandler(sys.stderr)
_handler.setLevel(logging.DEBUG)
_log.addHandler(_handler)
setup(
name='crest',
version='0.1',
namespace_packages = ['metaswitch'],
packages=find_packages('src', include=['metaswitch', 'metaswitch.crest', 'metaswitch.crest.*']),
package_dir={'':'src'},
test_suite='metaswitch.crest.test',
install_requires=[
"asn1crypto",
"attrs",
"Automat",
"constantly",
"cryptography",
"cql",
"cyclone",
"enum34",
"idna",
"incremental",
"ipaddress",
"lxml",
"metaswitchcommon",
"msgpack-python",
"prctl",
"pure-sasl",
"pyOpenSSL",
"setuptools",
"six",
"telephus",
"thrift",
"Twisted",
"zope.interface",
"defusedxml"
],
tests_require=[
"funcsigs",
"Mock",
"pbr",
"six"],
options={"build": {"build_base": "build-crest"}},
)