blob: 69e18b0f424c35030c59e47de89b83d75bbe1195 [file] [log] [blame]
Kata7185c62013-04-04 17:31:13 +02001#!/usr/bin/env python
2# Osmopython: test utilities for osmocom programs
3# Copyright (C) 2013 Katerina Barone-Adesi kat.obsc@gmail.com
4
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as
7# published by the Free Software Foundation, either version 3 of the
8# License, or (at your option) any later version.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU Affero General Public License for more details.
14
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
Max7f7c4b42017-12-15 12:12:01 +010018from setuptools import setup, find_packages
Kata7185c62013-04-04 17:31:13 +020019from osmopy import __version__
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020020import sys
21
22if sys.version_info.major == 2:
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010023 scripts = [
24 "scripts/osmodumpdoc.py",
25 "scripts/osmotestconfig.py",
26 "scripts/osmotestvty.py",
27 ]
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020028elif sys.version_info.major == 3:
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010029 scripts = [
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010030 "scripts/osmo_ctrl.py",
Max34d2ca52018-01-12 16:41:24 +010031 "scripts/osmo_rate_ctr2csv.py",
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010032 "scripts/soap.py",
Pau Espin Pedrol10fbb402018-07-11 14:05:13 +020033 "scripts/ctrl2cgi.py",
Max684388f2019-01-07 16:02:55 +010034 "scripts/osmo_trap2cgi.py",
Neels Hofmeyr58bd53c2018-01-09 12:56:19 +010035 "scripts/osmo_interact_vty.py",
36 "scripts/osmo_interact_ctrl.py",
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010037 "scripts/osmo_verify_transcript_vty.py",
38 "scripts/osmo_verify_transcript_ctrl.py",
39 ]
Kata7185c62013-04-04 17:31:13 +020040
41setup(
42 name = 'osmopython',
43 version = __version__,
Max7f7c4b42017-12-15 12:12:01 +010044 packages = find_packages(),
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020045 scripts = scripts,
Kata7185c62013-04-04 17:31:13 +020046 license = "AGPLv3",
47 description = "Osmopython: osmocom testing scripts",
48 author = "Katerina Barone-Adesi",
49 author_email = "kat.obsc@gmail.com"
50)
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010051
52# vim: expandtab tabstop=4 shiftwidth=4