-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
39 lines (31 loc) · 1.27 KB
/
setup.py
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
#
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
import re
from setuptools import setup, find_packages
def requirements(filename):
with open(filename) as f:
lines = f.read().splitlines()
c = re.compile(r'\s*#.*')
return list(filter(bool, map(lambda y: c.sub('', y).strip(), lines)))
setup(
name='neutron_plugin_contrail',
version='0.1dev',
packages=find_packages(),
package_data={'': ['*.html', '*.css', '*.xml']},
zip_safe=False,
long_description="Contrail neutron plugin",
test_suite='neutron_plugin_contrail.tests',
install_requires=requirements('requirements.txt'),
tests_require=requirements('test-requirements.txt'),
entry_points={
'neutron.service_plugins': [
'contrail-timestamp = neutron_plugin_contrail.plugins.opencontrail.services.timestamp.timestamp_plugin:TimeStampPlugin',
'contrail-trunk = neutron_plugin_contrail.plugins.opencontrail.services.trunk.plugin:TrunkPlugin',
'contrail-tags = neutron_plugin_contrail.plugins.opencontrail.services.tag.tag_plugin:TagPlugin',
],
'firewall_drivers': [
'contrail-fwaasv2 = neutron_plugin_contrail.plugins.opencontrail.neutron_fwaas.contrail:ContrailFirewallv2Driver',
],
},
)