-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
41 lines (37 loc) · 1.37 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
import os
import sys
from setuptools import setup
from unlocker import __version__
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
if sys.version_info[:2] < (3, 5):
sys.exit('ssh-unlocker requires Python 3.5 or higher, sorry. Please consider using `pyenv` if your distribution does not provide Python 3.5+')
setup(
name='ssh-unlocker',
version=__version__,
py_modules=['unlock'],
packages=['unlocker'],
package_data={'unlocker': ['unlocker/*.py']},
entry_points={
'console_scripts': [
'ssh-unlocker=unlock:main',
],
},
include_package_data=True,
license='MIT',
description='SSH unlocker for unattended unlock of LUKS encrypted LVM or root disk partition using cryptsetup',
url='https://github.com/ViktorStiskala/cryptsetup-ssh-unlocker',
author='Viktor Stískala',
author_email='[email protected]',
install_requires=['asyncssh>=1.11,<1.13', 'bcrypt>=3.1'],
classifiers=[
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Framework :: AsyncIO',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)