Install osc2 script as well

Use setuptools entry_point to generate wrapper script and install it to
bin directory.

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix documentation build after module rename

Signed-off-by: Michal Čihař <michal@cihar.com>
Ignore setup generated dirs

Signed-off-by: Michal Čihař <michal@cihar.com>
Install output templates as well

Signed-off-by: Michal Čihař <michal@cihar.com>
Fixed handling old style osc config

In past, the ~/.oscrc section could use server name only without the
protocol, so let's adjust the URL according to this in osc2 as well.

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix listing of SRs without description

Signed-off-by: Michal Čihař <michal@cihar.com>
- cli.cli: pep8-ified code
Merge branch 'section-without-proto' of https://github.com/nijel/osc2
Merge branch 'sr-description' of https://github.com/nijel/osc2
Merge branch 'travis'
Fixed XML testing

Actually compare XML trees rather than relying on the text
representation being same as this is pretty much dependant on lxml
version.

Signed-off-by: Michal Čihař <michal@cihar.com>
Merge branch 'xml-testing'