|
| 1 | +#!/usr/bin/env python |
| 2 | +## |
| 3 | +## This file is part of OpenSIPS CLI |
| 4 | +## (see https://github.com/OpenSIPS/opensips-cli). |
| 5 | +## |
| 6 | +## This program is free software: you can redistribute it and/or modify |
| 7 | +## it under the terms of the GNU General Public License as published by |
| 8 | +## the Free Software Foundation, either version 3 of the License, or |
| 9 | +## (at your option) any later version. |
| 10 | +## |
| 11 | +## This program is distributed in the hope that it will be useful, |
| 12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | +## GNU General Public License for more details. |
| 15 | +## |
| 16 | +## You should have received a copy of the GNU General Public License |
| 17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | +## |
| 19 | + |
| 20 | +""" |
| 21 | +Installs OpenSIPS Command Line Interface |
| 22 | +""" |
| 23 | + |
| 24 | +from pathlib import Path |
| 25 | + |
| 26 | +from setuptools import find_packages, setup |
| 27 | + |
| 28 | + |
| 29 | +HERE = Path(__file__).resolve().parent |
| 30 | +VERSION = {} |
| 31 | +exec((HERE / "opensipscli" / "version.py").read_text(encoding="utf-8"), VERSION) |
| 32 | + |
| 33 | + |
| 34 | +setup( |
| 35 | + name="opensipscli", |
| 36 | + version=VERSION["__version__"], |
| 37 | + author="OpenSIPS Project", |
| 38 | + author_email="project@opensips.org", |
| 39 | + maintainer="Razvan Crainea", |
| 40 | + maintainer_email="razvan@opensips.org", |
| 41 | + description="OpenSIPS Command Line Interface", |
| 42 | + long_description=(HERE / "README.md").read_text(encoding="utf-8"), |
| 43 | + long_description_content_type="text/markdown", |
| 44 | + url="https://github.com/OpenSIPS/opensips-cli", |
| 45 | + download_url="https://github.com/OpenSIPS/opensips-cli/archive/master.zip", |
| 46 | + packages=find_packages(include=("opensipscli", "opensipscli.*")), |
| 47 | + install_requires=[ |
| 48 | + "opensips", |
| 49 | + "mysqlclient<1.4.0rc1", |
| 50 | + "sqlalchemy>=1.3.3,<2", |
| 51 | + "sqlalchemy-utils", |
| 52 | + ], |
| 53 | + classifiers=[ |
| 54 | + "Programming Language :: Python :: 3", |
| 55 | + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
| 56 | + "Operating System :: OS Independent", |
| 57 | + ], |
| 58 | + scripts=["bin/opensips-cli"], |
| 59 | + project_urls={ |
| 60 | + "Source Code": "https://github.com/OpenSIPS/opensips-cli", |
| 61 | + "Issues Tracker": "https://github.com/OpenSIPS/opensips-cli/issues", |
| 62 | + }, |
| 63 | +) |
| 64 | + |
| 65 | +# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |
0 commit comments