mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-23 00:25:18 +00:00
Clean up dependencies and Travis
This commit is contained in:
parent
52d35012a4
commit
02b2f041cc
@ -19,5 +19,12 @@ cache:
|
|||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- python-ldap
|
|
||||||
- python-xattr
|
- python-xattr
|
||||||
|
- python-setproctitle
|
||||||
|
- python-falcon
|
||||||
|
- python-markdown
|
||||||
|
- python-jinja2
|
||||||
|
- python-click
|
||||||
|
- python-configparser
|
||||||
|
- python-ipaddress
|
||||||
|
- python-humanize
|
||||||
|
@ -23,9 +23,7 @@ from cryptography.hazmat.primitives import serialization
|
|||||||
from cryptography.hazmat.primitives import hashes, serialization
|
from cryptography.hazmat.primitives import hashes, serialization
|
||||||
from cryptography.hazmat.primitives.asymmetric import rsa
|
from cryptography.hazmat.primitives.asymmetric import rsa
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from humanize import naturaltime
|
|
||||||
from jinja2 import Environment, PackageLoader
|
from jinja2 import Environment, PackageLoader
|
||||||
from setproctitle import setproctitle
|
|
||||||
import const
|
import const
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
@ -972,7 +970,7 @@ def certidude_list(verbose, show_key_type, show_extensions, show_path, show_sign
|
|||||||
# e - expired
|
# e - expired
|
||||||
# y - not valid yet
|
# y - not valid yet
|
||||||
# r - revoked
|
# r - revoked
|
||||||
|
from humanize import naturaltime
|
||||||
from certidude import authority
|
from certidude import authority
|
||||||
|
|
||||||
def dump_common(common_name, path, cert):
|
def dump_common(common_name, path, cert):
|
||||||
@ -1074,6 +1072,7 @@ def certidude_cron():
|
|||||||
@click.option("-l", "--listen", default="0.0.0.0", help="Listen address")
|
@click.option("-l", "--listen", default="0.0.0.0", help="Listen address")
|
||||||
@click.option("-f", "--fork", default=False, is_flag=True, help="Fork to background")
|
@click.option("-f", "--fork", default=False, is_flag=True, help="Fork to background")
|
||||||
def certidude_serve(port, listen, fork):
|
def certidude_serve(port, listen, fork):
|
||||||
|
from setproctitle import setproctitle
|
||||||
from certidude.signer import SignServer
|
from certidude.signer import SignServer
|
||||||
from certidude import const
|
from certidude import const
|
||||||
click.echo("Using configuration from: %s" % const.CONFIG_PATH)
|
click.echo("Using configuration from: %s" % const.CONFIG_PATH)
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
click==6.7
|
click>=6.7
|
||||||
configparser==3.5.0
|
configparser>=3.5.0
|
||||||
cryptography==1.7.2
|
cryptography>=1.7.1
|
||||||
falcon==1.1.0
|
Jinja2>=2.8
|
||||||
humanize==0.5.1
|
requests>=2.12.4
|
||||||
ipaddress==1.0.18
|
requests-kerberos>=0.7.0
|
||||||
Jinja2==2.9.5
|
|
||||||
Markdown==2.6.8
|
|
||||||
pyldap==2.4.28
|
|
||||||
python-dateutil==2.6.0
|
|
||||||
requests==2.10.0
|
|
||||||
|
7
setup.py
7
setup.py
@ -17,7 +17,14 @@ setup(
|
|||||||
"certidude.api"
|
"certidude.api"
|
||||||
],
|
],
|
||||||
long_description=open("README.rst").read(),
|
long_description=open("README.rst").read(),
|
||||||
|
# Include here only stuff required to run certidude client
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
"click",
|
||||||
|
"cryptography",
|
||||||
|
"configparser",
|
||||||
|
"jinja2",
|
||||||
|
"requests",
|
||||||
|
"requests-kerberos"
|
||||||
],
|
],
|
||||||
scripts=[
|
scripts=[
|
||||||
"misc/certidude"
|
"misc/certidude"
|
||||||
|
Loading…
Reference in New Issue
Block a user