-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
71 lines (64 loc) · 2.02 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
#!/usr/bin/env python
import os
import sys
import os.path
from setuptools import setup
from src._version import __version__
install_requires = [
'pycrypto >=2.6', # TODO do we need this version
'msgpack-python >=0.2', # ibidem
'gmpy2 >=2', # ibidem
'yappi >=0.62', # ibidem
'lockfile >=0.8', # ibidem
'PyYAML >=3.08',
'pyparsing >=2.3', # ibidem
'zxcvbn >=4.0',
'seccure >=0.4.0',
'demandimport >=0.3.4',
'argon2-cffi >=16.1.0',
'urwid >=1.3.0',
'fuzzywuzzy >=0.10.0',
]
base_path = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(base_path, 'README.rst')) as f:
with open(os.path.join(base_path, 'CHANGES.rst')) as g:
long_description = '{0}\n{1}'.format(f.read(), g.read())
setup(
name='pol',
version=__version__,
description='pol, a modern password manager',
long_description=long_description,
author='Bas Westerbaan',
author_email='[email protected]',
url='https://github.com/bwesterb/pol',
zip_safe=False,
packages=['pol',
'pol.tests',
'pol.passgen',
'pol.editor',
'pol.importers'],
package_dir={'pol': 'src'},
package_data={'pol': [
'editor/editfile.vim']},
license='GPL 3.0',
install_requires=install_requires,
extras_require = {
'psafe3-importer': ['twofish'],
'scrypt': ['scrypt >=0.5.5, !=0.6.0, !=0.6.1'],
},
entry_points = {
'console_scripts': [
'pol = pol.cli:entrypoint',
]
},
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: POSIX',
'Topic :: Security',
],
test_suite='pol.tests',
),