~ziad-sawalha/keystone/trunk

6 by Sai Krishna
Adding First kestone repo
1
#!/usr/bin/python
2
# Copyright (c) 2010-2011 OpenStack, LLC.
3
#
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
7
#
8
#    http://www.apache.org/licenses/LICENSE-2.0
9
#
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
13
# implied.
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16
17
from setuptools import setup, find_packages
18
132 by Ziad Sawalha
pep8
19
version = '1.0'
6 by Sai Krishna
Adding First kestone repo
20
156.1.1 by Jay Pipes
Adds Sphinx build ability and RST documentation.
21
cmdclass = {}
22
23
# If Sphinx is installed on the box running setup.py,
24
# enable setup.py to build the documentation, otherwise,
25
# just ignore it
26
try:
27
    from sphinx.setup_command import BuildDoc
28
29
    class local_BuildDoc(BuildDoc):
30
        def run(self):
31
            for builder in ['html', 'man']:
32
                self.builder = builder
33
                self.finalize_options()
34
                BuildDoc.run(self)
35
    cmdclass['build_sphinx'] = local_BuildDoc
36
37
except:
38
    pass
39
6 by Sai Krishna
Adding First kestone repo
40
setup(
41
    name='keystone',
42
    version=version,
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']),
87.3.1 by gholt
Fix up broken setup.py scripts list.
52
    scripts=['bin/keystone', 'bin/keystone-auth', 'bin/keystone-admin',
53
             'bin/keystone-manage'],
34.1.4 by Ramana Juvvadi
chasing tenant group bug
54
    zip_safe=False,
156.1.1 by Jay Pipes
Adds Sphinx build ability and RST documentation.
55
    cmdclass=cmdclass,
34.1.4 by Ramana Juvvadi
chasing tenant group bug
56
    install_requires=['setuptools'],
247.1.1 by Dolph Mathews
Gets Keystone a bit more inline with the way that
57
    test_suite='nose.collector',
34.1.4 by Ramana Juvvadi
chasing tenant group bug
58
    entry_points={
59
        'paste.app_factory': ['main=identity:app_factory'],
60
        'paste.filter_factory': [
187.2.20 by Dolph Mathews
Renamed exthandler to urlrewritefilter to better illustrate it's purpose
61
            'extfilter=keystone.middleware.url:filter_factory',
153 by Ziad Sawalha
Setup.py fix
62
            'remoteauth=keystone.middleware.remoteauth:remoteauth_factory',
203.1.1 by Dolph Mathews
Merging keystone.auth_protocols package into keystone.middleware
63
            'tokenauth=keystone.middleware.auth_token:filter_factory',
177.1.5 by Todd Willey
Make swift middleware live where it should.
64
            'swiftauth=keystone.middleware.swift_auth:filter_factory',
34.1.4 by Ramana Juvvadi
chasing tenant group bug
65
            ],
66
        },
6 by Sai Krishna
Adding First kestone repo
67
    )