Remove Python 2.6 classifier
Trove does not support Python 2.6 anymore starting with Kilo and might not work correctly with it, so remove the classifier. Change-Id: Ida17ce3ce76258442222b591846e1e1717119eed
This commit is contained in:
parent
3864816fd6
commit
414507227e
@ -16,7 +16,6 @@ classifier =
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 2.6
|
||||
|
||||
[files]
|
||||
packages =
|
||||
|
@ -40,8 +40,8 @@ def die(message, *args):
|
||||
|
||||
|
||||
def check_python_version():
|
||||
if sys.version_info < (2, 6):
|
||||
die("Need Python Version >= 2.6")
|
||||
if sys.version_info < (2, 7):
|
||||
die("Need Python Version >= 2.7")
|
||||
|
||||
|
||||
def run_command(cmd, redirect_output=True, check_exit_code=True):
|
||||
|
@ -2,12 +2,12 @@
|
||||
# Arguments: Use --pid_file to specify a pid file location.
|
||||
|
||||
|
||||
if [ ! -d ".tox/py26" ]; then
|
||||
tox -epy26
|
||||
if [ ! -d ".tox/py27" ]; then
|
||||
tox -epy27
|
||||
fi
|
||||
|
||||
function run() {
|
||||
.tox/py26/bin/python $@
|
||||
.tox/py27/bin/python $@
|
||||
}
|
||||
run bin/trove-manage \
|
||||
--config-file=etc/trove/trove.conf.test db_recreate \
|
||||
|
Loading…
Reference in New Issue
Block a user