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 |
James E. Blair | ee74361 | 2012-05-29 14:49:32 -0700 | [diff] [blame] | 18 | |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 19 | requires = setup.parse_requirements() |
| 20 | test_requires = setup.parse_requirements(['tools/test-requires']) |
| 21 | depend_links = setup.parse_dependency_links() |
Monty Taylor | eb0e9a3 | 2013-03-27 16:29:21 +0100 | [diff] [blame] | 22 | project = 'zuul' |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 23 | |
| 24 | setuptools.setup( |
Monty Taylor | eb0e9a3 | 2013-03-27 16:29:21 +0100 | [diff] [blame] | 25 | name=project, |
| 26 | version=setup.get_version(project), |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 27 | author='Hewlett-Packard Development Company, L.P.', |
| 28 | author_email='openstack@lists.launchpad.net', |
| 29 | description='Trunk gating system', |
| 30 | license='Apache License, Version 2.0', |
| 31 | url='http://launchpad.net/zuul', |
| 32 | packages=setuptools.find_packages(exclude=['tests', 'tests.*']), |
| 33 | include_package_data=True, |
| 34 | cmdclass=setup.get_cmdclass(), |
| 35 | install_requires=requires, |
| 36 | dependency_links=depend_links, |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 37 | zip_safe=False, |
| 38 | classifiers=[ |
| 39 | 'Environment :: Console', |
| 40 | 'Intended Audience :: Developers', |
| 41 | 'Intended Audience :: Information Technology', |
| 42 | 'License :: OSI Approved :: Apache Software License', |
| 43 | 'Operating System :: OS Independent', |
| 44 | 'Programming Language :: Python' |
Monty Taylor | 7df9e7f | 2012-11-25 12:12:28 -0800 | [diff] [blame] | 45 | ], |
| 46 | entry_points={ |
| 47 | 'console_scripts': [ |
| 48 | 'zuul-server=zuul.cmd.server:main', |
| 49 | ], |
| 50 | } |
Paul Belanger | 43cdeab | 2012-11-15 14:33:05 -0500 | [diff] [blame] | 51 | ) |