-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
80 lines (75 loc) · 2.75 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
80
#!/usr/bin/env python
# imports {{{1
from setuptools import setup
from codecs import open
import os
# build the description {{{1
with open('README.rst', encoding='utf-8') as file:
readme = file.read()
# build the installation requirements {{{1
install_requirements = '''
appdirs
arrow!=0.14.*
cryptography
# cryptography is optional, it provides rapid startup via encrypted manifests
docopt
inform>=1.21
pygobject
# pygobject is optional, it provides a secret selection dialog
python-gnupg>=0.4.4
# Be careful. There's a package called 'gnupg' that's an
# incompatible fork of 'python-gnupg'. If both are installed, the
# user will probably have compatibility issues.
pyotp
# pyotp is optional, it provides one-time-password (OTP) secrets.
#scrypt
# scrypt is optional. If you install it then Avendesora will offer
# it. It is not required because it is little used and installing it
# involves compiling C code and so significant additional
# dependencies such as gcc.
'''
install_requires = []
for line in install_requirements.splitlines():
code, _, comment = line.partition('#')
requirement = code.strip()
if requirement:
if requirement.startswith('pygobject') and 'READTHEDOCS' in os.environ:
pass
else:
install_requires.append(requirement)
# call setup {{{1
setup(
name = 'avendesora',
version = '1.24.1',
author = 'Ken Kundert and Kale Kundert',
author_email = 'avendesora@nurdletech.com',
description = 'A password generator and account manager.',
long_description = readme,
long_description_content_type='text/x-rst',
url = 'https://avendesora.readthedocs.io',
download_url = 'https://github.com/kenkundert/avendesora/tarball/master',
license = 'GPLv3+',
packages = 'avendesora'.split(),
entry_points = {
'console_scripts': ['avendesora = avendesora.main:main'],
},
install_requires = install_requires,
python_requires='>=3.6',
zip_save = True,
keywords = 'avendesora password XKCD'.split(),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'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',
'Topic :: Security :: Cryptography',
'Topic :: Utilities',
],
)