~ubuntu-branches/ubuntu/trusty/python-keystoneclient/trusty-proposed

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-05-29 13:07:56 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20130529130756-3h7dh05a39n9uvq5
Tags: 1:0.2.4-0ubuntu1
* New upstream release. 
* debian/control: Add python-d2to1 and python-pbr
* debian/control: Add testrepository, dropped python-nose
* debian/control: Add python-six

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import os
2
 
import sys
 
1
#!/usr/bin/env python
 
2
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
 
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
 
3
17
import setuptools
4
18
 
5
 
from keystoneclient.openstack.common import setup
6
 
 
7
 
 
8
 
def read(fname):
9
 
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
10
 
 
11
 
requires = setup.parse_requirements()
12
 
depend_links = setup.parse_dependency_links()
13
 
tests_require = setup.parse_requirements(['tools/test-requires'])
14
 
 
15
19
setuptools.setup(
16
 
    name="python-keystoneclient",
17
 
    version=setup.get_post_version('keystoneclient'),
18
 
    description="Client library for OpenStack Identity API (Keystone)",
19
 
    long_description=read('README.rst'),
20
 
    url='https://github.com/openstack/python-keystoneclient',
21
 
    license='Apache',
22
 
    author='Nebula Inc, based on work by Rackspace and Jacob Kaplan-Moss',
23
 
    author_email='gabriel.hurley@nebula.com',
24
 
    packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
25
 
    classifiers=[
26
 
        'Development Status :: 4 - Beta',
27
 
        'Environment :: Console',
28
 
        'Environment :: OpenStack',
29
 
        'Intended Audience :: Developers',
30
 
        'Intended Audience :: Information Technology',
31
 
        'License :: OSI Approved :: Apache Software License',
32
 
        'Operating System :: OS Independent',
33
 
        'Programming Language :: Python',
34
 
    ],
35
 
    install_requires=requires,
36
 
    dependency_links=depend_links,
37
 
    cmdclass=setup.get_cmdclass(),
38
 
 
39
 
    tests_require=tests_require,
40
 
    test_suite="nose.collector",
41
 
 
42
 
    entry_points={
43
 
        'console_scripts': ['keystone = keystoneclient.shell:main']
44
 
    },
45
 
    data_files=[('keystoneclient', ['keystoneclient/versioninfo'])],
46
 
)
 
20
    setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5,<0.6'],
 
21
    d2to1=True)