blob: cb35457866c0d1c6c3f9a0b1e78a91606ebcc853 [file] [log] [blame]
Monty Taylorda3bada2012-11-22 09:38:22 -08001# Copyright (c) 2012 Hewlett-Packard Development Company, L.P.
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
15import os
16import setuptools
17
18
Monty Taylor674a6482012-11-28 09:39:39 -080019from jeepyb.openstack.common import setup
20from jeepyb.version import version_info as version
Monty Taylorda3bada2012-11-22 09:38:22 -080021
22requires = setup.parse_requirements()
23tests_require = setup.parse_requirements(['tools/test-requires'])
24depend_links = setup.parse_dependency_links()
25
26
27def read_file(file_name):
28 return open(os.path.join(os.path.dirname(__file__), file_name)).read()
29
30
31setuptools.setup(
Monty Taylor674a6482012-11-28 09:39:39 -080032 name="jeepyb",
Monty Taylorda3bada2012-11-22 09:38:22 -080033 version=version.canonical_version_string(always=True),
34 author='Hewlett-Packard Development Company, L.P.',
35 author_email='openstack@lists.launchpad.net',
36 description="Tools for managing gerrit projects and external sources.",
37 license="Apache License, Version 2.0",
Monty Taylor674a6482012-11-28 09:39:39 -080038 url="https://github.com/openstack-ci/jeepyb",
Monty Taylorda3bada2012-11-22 09:38:22 -080039 packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
40 include_package_data=True,
41 setup_requires=['setuptools_git>=0.4'],
42 cmdclass=setup.get_cmdclass(),
43 install_requires=requires,
44 dependency_links=depend_links,
45 tests_require=tests_require,
46 test_suite="nose.collector",
47 classifiers=[
48 "Environment :: Console",
49 "Intended Audience :: Developers",
50 "Intended Audience :: Information Technology",
51 "License :: OSI Approved :: Apache Software License",
52 "Operating System :: OS Independent",
53 "Programming Language :: Python"
54 ],
55 entry_points={
56 'console_scripts': [
Monty Taylor674a6482012-11-28 09:39:39 -080057 'close-pull-requests=jeepyb.cmd.close_pull_requests:main',
58 'expire-old-reviews=jeepyb.cmd.expire_old_reviews:main',
59 'fetch-remotes=jeepyb.cmd.fetch_remotes:main',
60 'manage-projects=jeepyb.cmd.manage_projects:main',
61 'notify-impact=jeepyb.cmd.notify_impact:main',
Anita Kunodd575922013-03-05 09:30:59 -050062 'openstackwatch=jeepyb.cmd.openstackwatch:main',
Monty Taylor674a6482012-11-28 09:39:39 -080063 'process-cache=jeepyb.cmd.process_cache:main',
64 'run-mirror=jeepyb.cmd.run_mirror:main',
65 'trivial-rebase=jeepyb.cmd.trivial_rebase:main',
66 'update-blueprint=jeepyb.cmd.update_blueprint:main',
67 'update-bug=jeepyb.cmd.update_bug:main',
Monty Taylorda3bada2012-11-22 09:38:22 -080068 ],
69 }
70)