forked from bwesterb/pol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (65 loc) · 2.05 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
#!/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
'gmpy >=1.15, <2', # ibidem
'yappi >=0.62', # ibidem
'lockfile >=0.8', # ibidem
'PyYAML >=3', # ibidem
'pyparsing >=1.5.6, <2.0.0', # ibidem
'zxcvbn >=1.0',
'seccure >=0.2.3',
'demandimport >=0.2.1',
'argon2-cffi >=16.1.0',
'urwid >=1.3.0',
'fuzzywuzzy >=0.10.0',
]
if sys.version_info < (2, 7):
install_requires.append('argparse >= 0.8')
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='bas@westerbaan.name',
url='https://getpol.org',
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.main:entrypoint',
]
},
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 2.7',
'Operating System :: POSIX',
'Topic :: Security',
],
test_suite='pol.tests',
),