2
# Copyright (c) 2010-2011 OpenStack, LLC.
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
8
# http://www.apache.org/licenses/LICENSE-2.0
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
17
from setuptools import setup, find_packages
23
# If Sphinx is installed on the box running setup.py,
24
# enable setup.py to build the documentation, otherwise,
27
from sphinx.setup_command import BuildDoc
29
class local_BuildDoc(BuildDoc):
31
for builder in ['html', 'man']:
32
self.builder = builder
33
self.finalize_options()
35
cmdclass['build_sphinx'] = local_BuildDoc
43
description="Authentication service - proposed for OpenStack",
44
license='Apache License (2.0)',
45
classifiers=["Programming Language :: Python"],
46
keywords='identity auth authentication openstack',
47
author='OpenStack, LLC.',
48
author_email='openstack@lists.launchpad.net',
49
url='http://www.openstack.org',
50
include_package_data=True,
51
packages=find_packages(exclude=['test', 'bin']),
52
scripts=['bin/keystone', 'bin/keystone-auth', 'bin/keystone-admin',
53
'bin/keystone-manage'],
56
install_requires=['setuptools'],
57
test_suite='nose.collector',
59
'paste.app_factory': ['main=identity:app_factory'],
60
'paste.filter_factory': [
61
'extfilter=keystone.middleware.url:filter_factory',
62
'remoteauth=keystone.middleware.remoteauth:remoteauth_factory',
63
'tokenauth=keystone.middleware.auth_token:filter_factory',
64
'swiftauth=keystone.middleware.swift_auth:filter_factory',