-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
60 lines (54 loc) · 1.78 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
# -*- coding: utf8 -*-
# vim:set et ts=8 sw=4:
import io
import setuptools
from keyrings.cryptfile import __version__ as version
with io.open('README.md', encoding='utf-8') as readme:
long_description = readme.read()
long_description_content_type = 'text/markdown'
name = 'keyrings.cryptfile'
description = 'Encrypted file keyring backend'
setup_params = dict(
name = name,
version = version,
author = 'Hans-Peter Jansen',
author_email = 'hpj@urpla.net',
description = description or name,
long_description = long_description,
long_description_content_type = long_description_content_type,
url = 'https://github.com/frispete/' + name,
license = 'MIT',
packages = setuptools.find_packages(exclude=['tests']),
include_package_data = True,
python_requires = '>=3.5',
install_requires = [
'argon2_cffi',
'jaraco.classes',
'keyring>=20.0.0',
'pycryptodome',
],
extras_require = {},
setup_requires = [],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'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',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
entry_points = {
'keyring.backends': [
'cryptfile = keyrings.cryptfile.cryptfile',
],
'console_scripts': [
'cryptfile-convert = keyrings.cryptfile.convert:main',
],
},
)
if __name__ == '__main__':
setuptools.setup(**setup_params)