Setup project
This commit is contained in:
parent
3761d52fa7
commit
b3138ebe3e
3 changed files with 31 additions and 0 deletions
3
requirements.txt
Normal file
3
requirements.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
click==6.6
|
||||||
|
flake8==2.5.4
|
||||||
|
python-yubico==1.3.2
|
14
scripts/build
Executable file
14
scripts/build
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pyvenv env
|
||||||
|
|
||||||
|
export PATH=env/bin:${PATH}
|
||||||
|
|
||||||
|
env/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
|
echo "Installing into virtualenv..."
|
||||||
|
source env/bin/activate
|
||||||
|
pip install --editable .
|
||||||
|
deactivate
|
14
setup.py
Normal file
14
setup.py
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='yubi-lock',
|
||||||
|
version='1.0',
|
||||||
|
install_requires=[
|
||||||
|
'click',
|
||||||
|
'python-yubico'
|
||||||
|
],
|
||||||
|
entry_points='''
|
||||||
|
[console_scripts]
|
||||||
|
yubi-lock=yubi_lock.cli:cli
|
||||||
|
''',
|
||||||
|
)
|
Reference in a new issue