-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
53 lines (46 loc) · 1.64 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
"""
This file is part of Python TripleSec - a Python implementation of TripleSec
Released under The BSD 3-Clause License
Copyright (c) 2013 Keybase
"""
import sys
try:
from setuptools import setup
setuptools_available = True
except ImportError:
from distutils.core import setup
setuptools_available = False
params = {}
if setuptools_available:
params['entry_points'] = {'console_scripts': ['triplesec = triplesec:main']}
else:
params['scripts'] = ['bin/triplesec']
tests_require = ['nose']
if sys.version_info < (2, 7): tests_require.append('unittest2')
setup(
name = 'TripleSec',
version = '0.5.1',
description = 'a Python implementation of TripleSec',
author = 'Keybase',
author_email = '[email protected]',
url = 'http://github.com/keybase/python-triplesec',
packages = ['triplesec'],
license = 'BSD-new',
classifiers = ['Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries'],
long_description = open('README.rst').read(),
install_requires = ["pycryptodomex==3.7.1",
"scrypt==0.8.6",
"six==1.11.0",
"pysha3==1.0.2",
"twofish==0.3.0",
"salsa20==0.3.0"],
test_suite = 'nose.collector',
tests_require = tests_require,
**params
)