Kat | a7185c6 | 2013-04-04 17:31:13 +0200 | [diff] [blame] | 1 | #!/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 | |
Max | 7f7c4b4 | 2017-12-15 12:12:01 +0100 | [diff] [blame] | 18 | from setuptools import setup, find_packages |
Kat | a7185c6 | 2013-04-04 17:31:13 +0200 | [diff] [blame] | 19 | from osmopy import __version__ |
Neels Hofmeyr | 4e8d6ee | 2017-10-17 04:02:31 +0200 | [diff] [blame] | 20 | import sys |
| 21 | |
| 22 | if sys.version_info.major == 2: |
Neels Hofmeyr | 56d08ae | 2018-01-09 12:49:47 +0100 | [diff] [blame] | 23 | scripts = [ |
| 24 | "scripts/osmodumpdoc.py", |
| 25 | "scripts/osmotestconfig.py", |
| 26 | "scripts/osmotestvty.py", |
| 27 | ] |
Neels Hofmeyr | 4e8d6ee | 2017-10-17 04:02:31 +0200 | [diff] [blame] | 28 | elif sys.version_info.major == 3: |
Neels Hofmeyr | 56d08ae | 2018-01-09 12:49:47 +0100 | [diff] [blame] | 29 | scripts = [ |
Neels Hofmeyr | 56d08ae | 2018-01-09 12:49:47 +0100 | [diff] [blame] | 30 | "scripts/osmo_ctrl.py", |
Max | 34d2ca5 | 2018-01-12 16:41:24 +0100 | [diff] [blame] | 31 | "scripts/osmo_rate_ctr2csv.py", |
Neels Hofmeyr | 56d08ae | 2018-01-09 12:49:47 +0100 | [diff] [blame] | 32 | "scripts/soap.py", |
Pau Espin Pedrol | 10fbb40 | 2018-07-11 14:05:13 +0200 | [diff] [blame] | 33 | "scripts/ctrl2cgi.py", |
Max | 684388f | 2019-01-07 16:02:55 +0100 | [diff] [blame] | 34 | "scripts/osmo_trap2cgi.py", |
Neels Hofmeyr | 58bd53c | 2018-01-09 12:56:19 +0100 | [diff] [blame] | 35 | "scripts/osmo_interact_vty.py", |
| 36 | "scripts/osmo_interact_ctrl.py", |
Neels Hofmeyr | 56d08ae | 2018-01-09 12:49:47 +0100 | [diff] [blame] | 37 | "scripts/osmo_verify_transcript_vty.py", |
| 38 | "scripts/osmo_verify_transcript_ctrl.py", |
| 39 | ] |
Kat | a7185c6 | 2013-04-04 17:31:13 +0200 | [diff] [blame] | 40 | |
| 41 | setup( |
| 42 | name = 'osmopython', |
| 43 | version = __version__, |
Max | 7f7c4b4 | 2017-12-15 12:12:01 +0100 | [diff] [blame] | 44 | packages = find_packages(), |
Neels Hofmeyr | 4e8d6ee | 2017-10-17 04:02:31 +0200 | [diff] [blame] | 45 | scripts = scripts, |
Kat | a7185c6 | 2013-04-04 17:31:13 +0200 | [diff] [blame] | 46 | license = "AGPLv3", |
| 47 | description = "Osmopython: osmocom testing scripts", |
| 48 | author = "Katerina Barone-Adesi", |
| 49 | author_email = "kat.obsc@gmail.com" |
| 50 | ) |
Neels Hofmeyr | 56d08ae | 2018-01-09 12:49:47 +0100 | [diff] [blame] | 51 | |
| 52 | # vim: expandtab tabstop=4 shiftwidth=4 |