-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·79 lines (74 loc) · 2.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
import os
from setuptools import setup, find_packages
import sys
if sys.version_info[0] == 2:
from io import open
here = os.path.abspath(os.path.dirname(__file__))
__version__ = None
__license__ = None
__author__ = None
exec(open('fdeunlock/_meta.py', 'r', encoding='utf-8').read())
author = re.search(r'^(?P<name>[^<]+) <(?P<email>.*)>$', __author__)
# https://packaging.python.org/
setup(
name='fdeunlock',
version=__version__,
description='Check and unlock full disk encrypted systems via ssh',
long_description=open(os.path.join(here, 'README.rst'), 'r', encoding='utf-8').read(),
url='https://gitlab.com/ypid/fdeunlock',
author=author.group('name'),
author_email=author.group('email'),
# Basically redundant but when not specified `./setup.py --maintainer` will
# return "UNKNOWN".
maintainer=author.group('name'),
maintainer_email=author.group('email'),
license=__license__,
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: DFSG approved',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Security :: Cryptography',
'Topic :: System :: Boot :: Init',
'Topic :: System :: Systems Administration',
),
keywords='remote boot fde headless encryption security checksum initramfs ssh cryptsetup',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=[
'paramiko',
'pexpect',
'appdirs',
'hexdump',
],
extras_require={
'test': [
'nose',
'nose2',
'testfixtures',
'tox',
'flake8',
'pylint',
'coverage',
'yamllint',
],
# 'docs': [], # See docs/requirements.txt
},
entry_points={
'console_scripts': [
'fdeunlock = fdeunlock.cli:main',
],
},
)