Heat checks version each time setup.py is executed

Asked by Pawel Koniszewski

Why does Heat need to check its version (via .git files or pkg-info) every time setup.py is executed?
I cant push heat submodule into my repository, also Pkg-info file is not provided in source files.
I also don't want to install heat upstream every time. Is there good way to avoid that?

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Heat Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steven Hardy (shardy) said :
#1

Heat uses oslo setup to check the current version, in a similar way to other openstack projects:

https://github.com/openstack/oslo-incubator/blob/master/openstack/common/setup.py

This version info is used to create the python egg directory name - hence we need either a tag name or a git unique SHA version (for development versions) to create an appropriately named egg to install.

Please drop in to #heat on Freenode if you need further information, as I'm not sure I understand your use-case based on the "I cant push heat submodule into my repository" comment, thanks!

Can you help with this problem?

Provide an answer of your own, or ask Pawel Koniszewski for more information if necessary.

To post a message you must log in.