7 Commits

Author SHA1 Message Date
Sergey Skripnick
4dc498ceb9 Install data files in proper path
Bash completion script is installed in /usr/local/etc, so
install_rally.sh should make a symlink in /etc/bash_completion.d/

Also move `data_files` section from setup.py to setup.cfg

Closes-Bug: 1463038
Change-Id: Ifd5f69e41aa8121129d6314130385f48e1690843
2015-06-10 18:46:43 +03:00
Antonio Messina
1f29afc116 Improve installation script
This is an almost complete rewrite of the installation script, mainly
directed to allow installation of Rally also from unprivileged users,
but also adding a few more options and checks.

More in details, the script now:

* can run as unprivileged user.
* support different database types
* allow to specify custom python binary
* always asks confirmation before doing potentially dangerous actions
  (removing directories or installing software)
* automatically install needed software if run as root
* this script is self-sufficient: it automatically downloads Rally
  from the git if needed
* if interrupted, cleans up the virtualenv and/or the downloaded repository

Co-Authored-By: Antonio Messina <antonio.s.messina@gmail.com>
Co-Authored-By: Sergey Skripnick <sskripnick@mirantis.com>
Change-Id: I574d4fd7cc7c8e71720a6a5ff8db22ee4fd4fc81
Closes-bug: #1393887
2015-05-13 18:24:05 +03:00
Boris Pavlovic
afc5589a8f Fix bash completition setup
Change-Id: Ibe3290a273b99ea3a468a4b67b2dde54f01998a3
2014-10-13 23:24:24 +04:00
Kun Huang
7ef742af1b add bash completion script
This patch add a script rally.bash_completion which enables
auto-completion of rally CLI in bash environmnet when running:

python setup.py install
or
python setup.py develop

test:
rally [tab]
rally ta[tab]
rally task [tab]
rally task de[tab]

to-do:
adding a cache to bash-completion result could speed up auto-completion

Change-Id: Ia4c68ccf3faea73da87a93ce64b36545d9d8411c
2014-10-08 16:52:58 +03:00
OpenStack Proposal Bot
a596c4c444 Updated from global requirements
Change-Id: Ieb0e4e2b4271b80247cec51d22a0b1b2877f96f0
2014-05-01 13:52:17 +00:00
Sergey Lukjanov
33d1b1a776 Sync with global requirements
* versions of all other used libs updated

Change-Id: I6f71c965505037c6dde1241bd01453325beea3ed
2014-01-01 23:08:07 +04:00
Boris Pavlovic
8e31103305 Add tox, pep and requirements to project
Adding minimal amount of things to be able to run
tox against code and check all unit tests + pep
2013-08-14 12:23:42 +04:00