|
| 1 | +--- /dev/null |
| 2 | ++++ /setup.py |
| 3 | +@@ -0,0 +1,62 @@ |
| 4 | ++# -*- coding: utf-8 -*- |
| 5 | ++# Copyright (C) 2018 Greenbone Networks GmbH |
| 6 | ++# |
| 7 | ++# SPDX-License-Identifier: GPL-3.0-or-later |
| 8 | ++# |
| 9 | ++# This program is free software: you can redistribute it and/or modify |
| 10 | ++# it under the terms of the GNU General Public License as published by |
| 11 | ++# the Free Software Foundation, either version 3 of the License, or |
| 12 | ++# (at your option) any later version. |
| 13 | ++# |
| 14 | ++# This program is distributed in the hope that it will be useful, |
| 15 | ++# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | ++# GNU General Public License for more details. |
| 18 | ++# |
| 19 | ++# You should have received a copy of the GNU General Public License |
| 20 | ++# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 21 | ++ |
| 22 | ++# pylint: disable=invalid-name,wrong-import-position |
| 23 | ++ |
| 24 | ++import sys |
| 25 | ++ |
| 26 | ++from pathlib import Path |
| 27 | ++ |
| 28 | ++from setuptools import setup, find_packages |
| 29 | ++ |
| 30 | ++__here__ = Path(__file__).parent.resolve() |
| 31 | ++ |
| 32 | ++sys.path.insert(0, str(__here__)) |
| 33 | ++ |
| 34 | ++from gvm import get_version |
| 35 | ++ |
| 36 | ++ |
| 37 | ++with (__here__ / "README.md").open("r") as f: |
| 38 | ++ long_description = f.read() |
| 39 | ++ |
| 40 | ++setup( |
| 41 | ++ name='python-gvm', |
| 42 | ++ version=get_version(), |
| 43 | ++ author='Greenbone Networks GmbH', |
| 44 | ++ author_email='info@greenbone.net', |
| 45 | ++ description='Library to communicate with remote servers over GMP or OSP', |
| 46 | ++ long_description=long_description, |
| 47 | ++ long_description_content_type='text/markdown', |
| 48 | ++ url='https://github.com/greenbone/python-gvm', |
| 49 | ++ packages=find_packages(exclude=['tests']), |
| 50 | ++ install_requires=['paramiko', 'lxml', 'defusedxml'], |
| 51 | ++ python_requires='>=3.7', |
| 52 | ++ classifiers=[ |
| 53 | ++ # Full list: https://pypi.org/pypi?%3Aaction=list_classifiers |
| 54 | ++ 'Development Status :: 5 - Production/Stable', |
| 55 | ++ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', |
| 56 | ++ 'Environment :: Console', |
| 57 | ++ 'Intended Audience :: Developers', |
| 58 | ++ 'Programming Language :: Python :: 3.5', |
| 59 | ++ 'Programming Language :: Python :: 3.6', |
| 60 | ++ 'Programming Language :: Python :: 3.7', |
| 61 | ++ 'Programming Language :: Python :: 3.8', |
| 62 | ++ 'Operating System :: OS Independent', |
| 63 | ++ 'Topic :: Software Development :: Libraries :: Python Modules', |
| 64 | ++ ], |
| 65 | ++) |
0 commit comments