forked from YosaiProject/yosai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (57 loc) · 1.8 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
import os
from setuptools import setup, find_packages, Command
class CleanCommand(Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info; py.cleanup -d')
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
except IOError:
VERSION = README = ''
install_requires = [
'PyYAML',
'python-dateutil',
'pytz',
'PyPubSub',
'argon2_cffi',
'bcrypt',
'passlib',
'cryptography',
'msgpack-python',
'cbor2',
'python-rapidjson',
]
setup(
name='yosai',
version='0.3.2',
description="Yosai is a powerful security framework with an intuitive api.",
long_description=README,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Security',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='security rbac session authentication authorization',
author='Darin Gordon',
author_email='[email protected]',
url='http://yosaiproject.github.io/yosai',
license='Apache License 2.0',
packages=find_packages('.', exclude=['ez_setup', 'test*']),
install_requires=install_requires,
zip_safe=False,
cmdclass={'clean': CleanCommand}
)