blob: 1886039cac0dedc3569aabfb865d485d5c40be4c [file] [log] [blame]
garciadeblas09fa3d42019-10-08 18:30:46 +02001#
Felipe Vicensb7463a42019-10-25 16:42:41 +02002# All Rights Reserved.
3#
garciadeblas09fa3d42019-10-08 18:30:46 +02004# 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.
beierlmc40d7a32022-06-24 14:05:43 -040015from setuptools import setup
Mike Marchetti81600192017-04-19 12:42:34 -040016
beierlmc40d7a32022-06-24 14:05:43 -040017_name = "osmclient"
18_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
beierlm95686bb2021-03-23 16:26:45 -040019_description = "OSM client library and console script"
beierlmc40d7a32022-06-24 14:05:43 -040020_author = "OSM Support"
21_author_email = "osmsupport@etsi.org"
22_maintainer = "OSM Support"
23_maintainer_email = "osmsupport@etsi.org"
24_license = "Apache 2.0"
25_url = "https://osm.etsi.org/gitweb/?p=osm/osmclient.git;a=tree"
garciadeblas7d73c882019-12-03 12:39:34 +010026
Mike Marchetti81600192017-04-19 12:42:34 -040027setup(
beierlmc40d7a32022-06-24 14:05:43 -040028 name=_name,
29 version_command=_version_command,
garciadeblas7d73c882019-12-03 12:39:34 +010030 description=_description,
beierlmc40d7a32022-06-24 14:05:43 -040031 author=_author,
32 author_email=_author_email,
33 maintainer=_maintainer,
34 maintainer_email=_maintainer_email,
35 url=_url,
36 license=_license,
37 packages=[_name],
38 package_dir={_name: _name},
39 include_package_data=True,
garciadeblas09fa3d42019-10-08 18:30:46 +020040 entry_points={
beierlm95686bb2021-03-23 16:26:45 -040041 "console_scripts": [
42 "osm = osmclient.scripts.osm:cli",
garciadeblas09fa3d42019-10-08 18:30:46 +020043 ],
44 },
beierlmc40d7a32022-06-24 14:05:43 -040045 setup_requires=['setuptools-version-command'],
Mike Marchetti81600192017-04-19 12:42:34 -040046)