Convert Kolla to installable Python package

Registered by Michal Rostecki

Now the scripts for building images, generating env variables, running Kolla etc. are (in majority) inside tools/ directory and they are not installed anywhere - they have to be run explicitly from the directory. Moreover, some of the scripts will be rewritten to Python soon and may require some pip packages in future.

Converting Kolla to the Python package with pbr, requirements etc. would make installing dependencies and calling scripts easier. Python scripts could be grouped into modules and registered as console_scripts in setup.cfg. Bash scripts could be registered as scripts in setup.cfg.

Blueprint information

Status:
Complete
Approver:
Steven Dake
Priority:
High
Drafter:
Michal Rostecki
Direction:
Approved
Assignee:
Suhail Syed
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon liberty-3
Started by
Steven Dake
Completed by
Steven Dake

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/python-package,n,z

Addressed by: https://review.openstack.org/216341
    Make Kolla installable via PIP

Addressed by: https://review.openstack.org/216463
    Modified build.py to run from installed location

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.