-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
59 lines (53 loc) · 2.35 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
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
name = 'SSHKeyDistribut0r'
version = '0.2.5'
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_requirements():
req = []
for line in open('requirements.txt', 'r'):
req.append(line.split()[0])
return req
setup(name=name,
version=version,
description='A tool which has been written to make SSH key distribution easier for sysop teams.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/thomai/SSHKeyDistribut0r',
author='Thomas Maier',
author_email='[email protected]',
license='CC BY',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'Topic :: Communications :: File Sharing',
'Topic :: Security',
'Topic :: Security :: Cryptography',
'Topic :: System :: Networking',
'Topic :: System :: Operating System',
'Topic :: System :: Shells',
'Topic :: System :: Systems Administration',
'Topic :: System :: Systems Administration :: Authentication/Directory',
'Topic :: System :: System Shells',
'Topic :: Terminals',
'Topic :: Utilities'],
keywords='ssh key distribution',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=get_requirements(),
data_files=[('share/%s/config_sample' % name,
['config/keys.sample.yml', 'config/servers.sample.yml'])],
entry_points={
'console_scripts': [
'%s = %s.command_line:main' % (name, name),
],
},)