Revision history [back]

click to hide/show revision 1
initial version

How does openstack compile the rmp pakages?

Hi, everyone

I notice that openstack projects' rpm pakages may be built with setuptools, with commands like this: python setup.py bdist_rpm

I also found that each components of a project of openstack share the same egg-info under /usr/lib/python2.6/site-packages/, though they have different packages.

For example, the pakages of compute and network components of nova(Icehouse version) are: openstack-nova-compute-2014.1-2.el6.noarch.rpm openstack-nova-network-2014.1-2.el6.noarch.rpm and they share the egg-info directory: /usr/lib/python2.6/site-packages/nova-2014.1-py2.6.egg-info/

I tried to compile a component for test, such as openstack-myproject-mycomponent, but I could only get pakage as openstack-myproject-mycomponent-2014.1-1.noarch.rpm, and the eg-info directory openstack_myproject_mycomponent-2014.1.0-py2.6.egg-info

How can I specify the release tag into '2.el6' and the egg-info directory into myproject-2014.1-py2.6.egg-info ?

How does openstack compile the rmp pakages?

Hi, everyone

I notice that openstack projects' rpm pakages may be built with setuptools, with commands like this: python setup.py bdist_rpm

I also found that each components of a project of openstack share the same egg-info under /usr/lib/python2.6/site-packages/, though they have different packages.

For example, the pakages of compute and network components of nova(Icehouse version) are: openstack-nova-compute-2014.1-2.el6.noarch.rpm .noarch.rpm, openstack-nova-network-2014.1-2.el6.noarch.rpm. and they share the egg-info directory: /usr/lib/python2.6/site-packages/nova-2014.1-py2.6.egg-info/

I tried to compile a component for test, such as openstack-myproject-mycomponent, but I could only get pakage as openstack-myproject-mycomponent-2014.1-1.noarch.rpm, and the eg-info directory openstack_myproject_mycomponent-2014.1.0-py2.6.egg-info

How can I specify the release tag into '2.el6' and the egg-info directory into myproject-2014.1-py2.6.egg-info ?