Convert pvc-client-cli into a proper Python module

Also fixes up the Debian packaging such that this works how I would
want, with proper module installation while leaving everything else
untouched. Finally implements automatic installation and removal of the
BASH completion for the PVC command.
This commit is contained in:
2021-06-23 04:08:02 -04:00
parent f0db631947
commit f248d579df
21 changed files with 68 additions and 36 deletions

20
client-cli/setup.py Normal file
View File

@ -0,0 +1,20 @@
from setuptools import setup
setup(
name='pvc',
version='0.9.20',
packages=['pvc', 'pvc.cli_lib'],
install_requires=[
'Click',
'PyYAML',
'lxml',
'colorama',
'requests',
'requests-toolbelt'
],
entry_points={
'console_scripts': [
'pvc = pvc.pvc:cli',
],
},
)