new 'osm version' command to get server version
[osm/osmclient.git] / setup.py
1 #
2 # All Rights Reserved.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
14 # under the License.
15 from setuptools import setup, find_packages
16
17 setup(
18 name='osmclient',
19 version_command=('git describe --match v* --tags --long --dirty',
20 'pep440-git-full'),
21 author='Mike Marchetti',
22 author_email='mmarchetti@sandvine.com',
23 packages=find_packages(),
24 include_package_data=True,
25 install_requires=[
26 'Click', 'prettytable', 'pyyaml', 'pycurl', 'python-magic',
27 'jinja2', 'osm-im'
28 ],
29 dependency_links=[
30 'git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im',
31 ],
32 setup_requires=['setuptools-version-command'],
33 test_suite='nose.collector',
34 entry_points={
35 'console_scripts': [
36 'osm = osmclient.scripts.osm:cli',
37 ],
38 },
39 )