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 | |
| 18 | from distutils.core import setup |
| 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: |
| 23 | scripts = ["osmopy/osmodumpdoc.py", "osmopy/osmotestconfig.py", |
| 24 | "osmopy/osmotestvty.py"] |
| 25 | elif sys.version_info.major == 3: |
Neels Hofmeyr | 6562c08 | 2017-10-18 03:20:04 +0200 | [diff] [blame] | 26 | scripts = ["osmopy/osmo_interact_vty.py", |
| 27 | "osmopy/osmo_interact_ctrl.py", |
Max | e732c2c | 2017-11-23 16:42:59 +0100 | [diff] [blame] | 28 | "osmopy/soap.py", |
| 29 | "osmopy/osmo_ctrl.py", |
Max | 751491c | 2017-11-27 12:47:37 +0100 | [diff] [blame] | 30 | "osmopy/osmo_ipa.py", |
Max | e732c2c | 2017-11-23 16:42:59 +0100 | [diff] [blame] | 31 | "osmopy/twisted_ipa.py", |
Neels Hofmeyr | 6562c08 | 2017-10-18 03:20:04 +0200 | [diff] [blame] | 32 | "osmopy/osmo_verify_transcript_vty.py", |
Neels Hofmeyr | 4e8d6ee | 2017-10-17 04:02:31 +0200 | [diff] [blame] | 33 | "osmopy/osmo_verify_transcript_ctrl.py"] |
Kat | a7185c6 | 2013-04-04 17:31:13 +0200 | [diff] [blame] | 34 | |
| 35 | setup( |
| 36 | name = 'osmopython', |
| 37 | version = __version__, |
| 38 | packages = ["osmopy"], |
Neels Hofmeyr | 4e8d6ee | 2017-10-17 04:02:31 +0200 | [diff] [blame] | 39 | scripts = scripts, |
Kat | a7185c6 | 2013-04-04 17:31:13 +0200 | [diff] [blame] | 40 | license = "AGPLv3", |
| 41 | description = "Osmopython: osmocom testing scripts", |
| 42 | author = "Katerina Barone-Adesi", |
| 43 | author_email = "kat.obsc@gmail.com" |
| 44 | ) |