~ubuntu-branches/ubuntu/trusty/python-heatclient/trusty

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Package Import Robot
  • Author(s): Prach Pongpanich
  • Date: 2013-04-11 12:03:51 UTC
  • Revision ID: package-import@ubuntu.com-20130411120351-6b33hw7vnoz971ui
Tags: upstream-0.2.2
ImportĀ upstreamĀ versionĀ 0.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
#
 
3
# Licensed under the Apache License, Version 2.0 (the "License");
 
4
# you may not use this file except in compliance with the License.
 
5
# You may obtain a copy of the License at
 
6
#
 
7
# http://www.apache.org/licenses/LICENSE-2.0
 
8
#
 
9
# Unless required by applicable law or agreed to in writing, software
 
10
# distributed under the License is distributed on an "AS IS" BASIS,
 
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
12
# See the License for the specific language governing permissions and
 
13
# limitations under the License.
 
14
 
 
15
import os
 
16
import setuptools
 
17
 
 
18
from heatclient.openstack.common import setup
 
19
from heatclient.version import version_info as version
 
20
 
 
21
 
 
22
def read(fname):
 
23
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
24
 
 
25
setuptools.setup(
 
26
    name="python-heatclient",
 
27
    version=version.canonical_version_string(always=True),
 
28
    author='Heat API Developers',
 
29
    author_email='discuss@heat-api.org',
 
30
    description="Client library for Heat orchestration API",
 
31
    long_description=read('README.md'),
 
32
    license='Apache',
 
33
    url='https://github.com/openstack/python-heatclient',
 
34
    packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
 
35
    include_package_data=True,
 
36
    install_requires=setup.parse_requirements(),
 
37
    test_suite="nose.collector",
 
38
    cmdclass=setup.get_cmdclass(),
 
39
    classifiers=[
 
40
        'Development Status :: 4 - Beta',
 
41
        'Environment :: Console',
 
42
        'Environment :: OpenStack',
 
43
        'Intended Audience :: Developers',
 
44
        'Intended Audience :: Information Technology',
 
45
        'License :: OSI Approved :: Apache Software License',
 
46
        'Operating System :: OS Independent',
 
47
        'Programming Language :: Python',
 
48
    ],
 
49
    entry_points={
 
50
        'console_scripts': ['heat = heatclient.shell:main']
 
51
    },
 
52
    dependency_links=setup.parse_dependency_links(),
 
53
    tests_require=setup.parse_requirements(['tools/test-requires']),
 
54
    setup_requires=['setuptools-git>=0.4'],
 
55
    data_files=[('heatclient', ['heatclient/versioninfo'])]
 
56
)