forked from authlib/otpauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (53 loc) · 1.7 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
# for `python setup.py test`
import multiprocessing
except ImportError:
pass
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import otpauth
from email.utils import parseaddr
author, author_email = parseaddr(otpauth.__author__)
def fread(path):
with open(path, 'r') as f:
return f.read()
setup(
name='otpauth',
version=otpauth.__version__,
author=author,
author_email=author_email,
url=otpauth.__homepage__,
py_modules=['otpauth'],
description='Implements two-step verification of HOTP/TOTP',
long_description=fread('README.rst'),
license='BSD',
platforms='any',
tests_require=['nose'],
test_suite='nose.collector',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: Microsoft',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Topic :: Security',
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
]
)