Skip to content
Snippets Groups Projects
Verified Commit 3e9ba5cb authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Add scripts to setup

parent 46235968
No related branches found
No related tags found
1 merge request!7Create pip package
Pipeline #2881 passed with warnings with stage
in 39 seconds
...@@ -45,15 +45,14 @@ Develop ...@@ -45,15 +45,14 @@ Develop
With a Python virtualenv, With a Python virtualenv,
.. code:: bash .. code:: bash
python3 -m venv venv python3 -m venv venv
. venv/bin/activate . venv/bin/activate
pip install -e . pip install -e .
Then you will be able to launch the project with Then you will be able to launch the client with ``cpasswords``
``python -m cpasswords``. or the server with ``cpasswords-server``.
Change command name Change command name
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
......
../cpasswords/client.py
\ No newline at end of file
../cpasswords/server.py
\ No newline at end of file
#!python
""" """
Group password manager client Group password manager client
......
#!python
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
""" """
......
import re import re
import sys import sys
from setuptools import find_packages, setup from setuptools import setup
setup( setup(
name="cpasswords", name="cpasswords",
...@@ -13,12 +13,23 @@ setup( ...@@ -13,12 +13,23 @@ setup(
keywords=['crans', 'passwords', 'gpg', 'ssh', 'group'], keywords=['crans', 'passwords', 'gpg', 'ssh', 'group'],
url="https://gitlab.crans.org/nounous/cranspasswords", url="https://gitlab.crans.org/nounous/cranspasswords",
classifiers=[ classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX',
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
'Topic :: Utilities',
], ],
packages=['cpasswords'], packages=['cpasswords'],
include_package_data=True, include_package_data=True,
install_requires=[ install_requires=[
'paramiko>=2.2', 'paramiko>=2.2',
], ],
tests_require=[], scripts=[
'bin/cpasswords',
'bin/cpasswords-server'
],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment