2013-04-04 15:31:13 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# Osmopython: test utilities for osmocom programs
|
|
|
|
# Copyright (C) 2013 Katerina Barone-Adesi kat.obsc@gmail.com
|
|
|
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Affero General Public License as
|
|
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
|
|
# License, or (at your option) any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2017-12-15 11:12:01 +00:00
|
|
|
from setuptools import setup, find_packages
|
2013-04-04 15:31:13 +00:00
|
|
|
from osmopy import __version__
|
2017-10-17 02:02:31 +00:00
|
|
|
import sys
|
|
|
|
|
|
|
|
if sys.version_info.major == 2:
|
2018-01-09 11:49:47 +00:00
|
|
|
scripts = [
|
|
|
|
"scripts/osmodumpdoc.py",
|
|
|
|
"scripts/osmotestconfig.py",
|
|
|
|
"scripts/osmotestvty.py",
|
|
|
|
]
|
2017-10-17 02:02:31 +00:00
|
|
|
elif sys.version_info.major == 3:
|
2018-01-09 11:49:47 +00:00
|
|
|
scripts = [
|
|
|
|
"scripts/osmo_ctrl.py",
|
2018-01-12 15:41:24 +00:00
|
|
|
"scripts/osmo_rate_ctr2csv.py",
|
2018-01-09 11:49:47 +00:00
|
|
|
"scripts/soap.py",
|
2018-07-11 12:05:13 +00:00
|
|
|
"scripts/ctrl2cgi.py",
|
2019-01-07 15:02:55 +00:00
|
|
|
"scripts/osmo_trap2cgi.py",
|
2018-01-09 11:56:19 +00:00
|
|
|
"scripts/osmo_interact_vty.py",
|
|
|
|
"scripts/osmo_interact_ctrl.py",
|
2018-01-09 11:49:47 +00:00
|
|
|
"scripts/osmo_verify_transcript_vty.py",
|
|
|
|
"scripts/osmo_verify_transcript_ctrl.py",
|
|
|
|
]
|
2013-04-04 15:31:13 +00:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name = 'osmopython',
|
|
|
|
version = __version__,
|
2017-12-15 11:12:01 +00:00
|
|
|
packages = find_packages(),
|
2017-10-17 02:02:31 +00:00
|
|
|
scripts = scripts,
|
2013-04-04 15:31:13 +00:00
|
|
|
license = "AGPLv3",
|
|
|
|
description = "Osmopython: osmocom testing scripts",
|
|
|
|
author = "Katerina Barone-Adesi",
|
|
|
|
author_email = "kat.obsc@gmail.com"
|
|
|
|
)
|
2018-01-09 11:49:47 +00:00
|
|
|
|
|
|
|
# vim: expandtab tabstop=4 shiftwidth=4
|