
https://www.python.org/dev/peps/pep-0426/#extras-optional-dependencies Python is a great language and it support extra requirements. In our case, it can be used for listing database requirements. This patch adds two separate extra requirements: * psycopg2 as for Postgres database backend * PyMySQL as for MySQL database backend To install Rally with a specific database backend you need just to do execute pip in right way: pip install rally[postgres] or pip install rally[mysql] Change-Id: Ibf816758fc093a65b94e6a2b2c273a073275b393
52 lines
1.2 KiB
INI
52 lines
1.2 KiB
INI
[metadata]
|
|
name = rally
|
|
summary = Benchmark System for OpenStack
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://docs.openstack.org/rally/latest/
|
|
license = Apache License, Version 2.0
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.4
|
|
Programming Language :: Python :: 3.5
|
|
|
|
[files]
|
|
packages =
|
|
rally
|
|
|
|
data_files =
|
|
etc/bash_completion.d =
|
|
etc/rally.bash_completion
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
rally = rally.cli.main:main
|
|
rally-manage = rally.cli.manage:main
|
|
oslo.config.opts =
|
|
rally = rally.common.opts:list_opts
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[extras]
|
|
mysql =
|
|
PyMySQL>=0.7.6 # MIT
|
|
postgres =
|
|
psycopg2>=2.5 # LGPL/ZPL
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|