diff options
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d0dff14 --- /dev/null +++ b/setup.py @@ -0,0 +1,51 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import os +import setuptools + +from ceilometerclient.openstack.common import setup + + +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + +setuptools.setup( + name="python-ceilometerclient", + version=setup.get_post_version('ceilometerclient'), + author='Ceilometer Developers', + author_email='openstack-dev@lists.openstack.org', + description="Client library for ceilometer", + long_description=read('README.md'), + license='Apache', + url='https://github.com/openstack/python-ceilometerclient', + packages=setuptools.find_packages(exclude=['tests', 'tests.*']), + include_package_data=True, + install_requires=setup.parse_requirements(), + test_suite="nose.collector", + cmdclass=setup.get_cmdclass(), + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Intended Audience :: Information Technology', + 'License :: OSI Approved :: Apache Software License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + ], + entry_points={ + 'console_scripts': ['ceilometerclient = ceilometerclient.shell:main'] + }, + dependency_links=setup.parse_dependency_links(), + tests_require=setup.parse_requirements(['tools/test-requires']), + setup_requires=['setuptools-git>=0.4'], +) |
