mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
vici: Generate a version specific setup.py for setuptools installation
This commit is contained in:
parent
2c8c52c4e2
commit
1e2ec9f96a
4
src/libcharon/plugins/vici/python/.gitignore
vendored
4
src/libcharon/plugins/vici/python/.gitignore
vendored
@ -1 +1,5 @@
|
||||
*.pyc
|
||||
build
|
||||
dist
|
||||
vici.egg-info
|
||||
setup.py
|
||||
|
@ -1,5 +1,11 @@
|
||||
EXTRA_DIST = LICENSE MANIFEST.in \
|
||||
setup.py.in \
|
||||
vici/__init__.py \
|
||||
vici/exception.py \
|
||||
vici/protocol.py \
|
||||
vici/session.py
|
||||
|
||||
setup.py: $(srcdir)/setup.py.in
|
||||
$(AM_V_GEN) sed \
|
||||
-e "s:@EGG_VERSION@:$(PACKAGE_VERSION):" \
|
||||
$(srcdir)/setup.py.in > $@
|
||||
|
31
src/libcharon/plugins/vici/python/setup.py.in
Normal file
31
src/libcharon/plugins/vici/python/setup.py.in
Normal file
@ -0,0 +1,31 @@
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
long_description = (
|
||||
"The strongSwan VICI protocol allows external application to monitor, "
|
||||
"configure and control the IKE daemon charon. This python package provides "
|
||||
"a native client side implementation of the VICI protocol, well suited to "
|
||||
"script automated tasks in a reliable way."
|
||||
)
|
||||
|
||||
setup(
|
||||
name="vici",
|
||||
version="@EGG_VERSION@",
|
||||
description="Native python interface for strongSwan VICI",
|
||||
author="Bjorn Schuberg",
|
||||
url="https://wiki.strongswan.org/projects/strongswan/wiki/Vici",
|
||||
license="MIT",
|
||||
packages=["vici"],
|
||||
long_description=long_description,
|
||||
include_package_data=True,
|
||||
classifiers=(
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: System Administrators",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Topic :: Security",
|
||||
"Topic :: Software Development :: Libraries",
|
||||
)
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user