blob: 3e147c48edd316a63196a5567054e2ce0ccf8adc [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
18from distutils.core import setup
19from osmopy import __version__
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020020import sys
21
22if sys.version_info.major == 2:
23 scripts = ["osmopy/osmodumpdoc.py", "osmopy/osmotestconfig.py",
24 "osmopy/osmotestvty.py"]
25elif sys.version_info.major == 3:
Neels Hofmeyr6562c082017-10-18 03:20:04 +020026 scripts = ["osmopy/osmo_interact_vty.py",
27 "osmopy/osmo_interact_ctrl.py",
Maxe732c2c2017-11-23 16:42:59 +010028 "osmopy/soap.py",
29 "osmopy/osmo_ctrl.py",
Max751491c2017-11-27 12:47:37 +010030 "osmopy/osmo_ipa.py",
Maxe732c2c2017-11-23 16:42:59 +010031 "osmopy/twisted_ipa.py",
Neels Hofmeyr6562c082017-10-18 03:20:04 +020032 "osmopy/osmo_verify_transcript_vty.py",
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020033 "osmopy/osmo_verify_transcript_ctrl.py"]
Kata7185c62013-04-04 17:31:13 +020034
35setup(
36 name = 'osmopython',
37 version = __version__,
38 packages = ["osmopy"],
Neels Hofmeyr4e8d6ee2017-10-17 04:02:31 +020039 scripts = scripts,
Kata7185c62013-04-04 17:31:13 +020040 license = "AGPLv3",
41 description = "Osmopython: osmocom testing scripts",
42 author = "Katerina Barone-Adesi",
43 author_email = "kat.obsc@gmail.com"
44)