]> git.proxmox.com Git - ovs.git/blob - python/setup.py
python: Fix writing to non-"alert" column for newly inserted row.
[ovs.git] / python / setup.py
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at:
4 #
5 # http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 # See the License for the specific language governing permissions and
11 # limitations under the License.
12
13 from __future__ import print_function
14 import sys
15
16 import setuptools
17
18 VERSION = "unknown"
19
20 try:
21 # Try to set the version from the generated ovs/version.py
22 execfile("ovs/version.py")
23 except IOError:
24 print("Ensure version.py is created by running make python/ovs/version.py",
25 file=sys.stderr)
26 sys.exit(-1)
27
28
29 setuptools.setup(
30 name='ovs',
31 description='Open vSwitch library',
32 version=VERSION,
33 url='http://www.openvswitch.org/',
34 author='Open vSwitch',
35 author_email='dev@openvswitch.org',
36 packages=['ovs', 'ovs.db', 'ovs.unixctl'],
37 keywords=['openvswitch', 'ovs', 'OVSDB'],
38 license='Apache 2.0',
39 classifiers=[
40 'Development Status :: 5 - Production/Stable',
41 'Topic :: Database :: Front-Ends',
42 'Topic :: Software Development :: Libraries :: Python Modules',
43 'Topic :: System :: Networking',
44 'License :: OSI Approved :: Apache Software License'
45 ]
46 )