James E. Blair | ee74361 | 2012-05-29 14:49:32 -0700 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # Copyright 2012 Hewlett-Packard Development Company, L.P. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 | # not use this file except in compliance with the License. You may obtain |
| 6 | # 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, WITHOUT |
| 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 | # License for the specific language governing permissions and limitations |
| 14 | # under the License. |
| 15 | |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 16 | import setuptools |
| 17 | from zuul.openstack.common import setup |
| 18 | from zuul.version import version_info as version |
James E. Blair | ee74361 | 2012-05-29 14:49:32 -0700 | [diff] [blame] | 19 | |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 20 | requires = setup.parse_requirements() |
| 21 | test_requires = setup.parse_requirements(['tools/test-requires']) |
| 22 | depend_links = setup.parse_dependency_links() |
| 23 | |
| 24 | |
| 25 | setuptools.setup( |
| 26 | name='zuul', |
| 27 | version=version.canonical_version_string(always=True), |
| 28 | author='Hewlett-Packard Development Company, L.P.', |
| 29 | author_email='openstack@lists.launchpad.net', |
| 30 | description='Trunk gating system', |
| 31 | license='Apache License, Version 2.0', |
| 32 | url='http://launchpad.net/zuul', |
| 33 | packages=setuptools.find_packages(exclude=['tests', 'tests.*']), |
| 34 | include_package_data=True, |
| 35 | cmdclass=setup.get_cmdclass(), |
| 36 | install_requires=requires, |
| 37 | dependency_links=depend_links, |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 38 | zip_safe=False, |
| 39 | classifiers=[ |
| 40 | 'Environment :: Console', |
| 41 | 'Intended Audience :: Developers', |
| 42 | 'Intended Audience :: Information Technology', |
| 43 | 'License :: OSI Approved :: Apache Software License', |
| 44 | 'Operating System :: OS Independent', |
| 45 | 'Programming Language :: Python' |
Monty Taylor | 7df9e7f | 2012-11-25 12:12:28 -0800 | [diff] [blame] | 46 | ], |
| 47 | entry_points={ |
| 48 | 'console_scripts': [ |
| 49 | 'zuul-server=zuul.cmd.server:main', |
| 50 | ], |
| 51 | } |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 52 | ) |