blob: a8fd6e923146cb642c23bd8864e1a8025ee18fad [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",
33 "scripts/twisted_ipa.py",
Neels Hofmeyr58bd53c2018-01-09 12:56:19 +010034 "scripts/osmo_interact_vty.py",
35 "scripts/osmo_interact_ctrl.py",
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010036 "scripts/osmo_verify_transcript_vty.py",
37 "scripts/osmo_verify_transcript_ctrl.py",
38 ]
Kata7185c62013-04-04 17:31:13 +020039
40setup(
41 name = 'osmopython',
42 version = __version__,
Max7f7c4b42017-12-15 12:12:01 +010043 packages = find_packages(),
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020044 scripts = scripts,
Kata7185c62013-04-04 17:31:13 +020045 license = "AGPLv3",
46 description = "Osmopython: osmocom testing scripts",
47 author = "Katerina Barone-Adesi",
48 author_email = "kat.obsc@gmail.com"
49)
Neels Hofmeyr56d08ae2018-01-09 12:49:47 +010050
51# vim: expandtab tabstop=4 shiftwidth=4