openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12595
openstack.common inside swiftclient and RPM
Hi, Monty:
The python-swiftclient has something that I believe you added:
[zaitcev@lembas python-swiftclient-tip]$ git log swiftclient/openstack/__init__.py
commit 7df012329f0b22e19f878cee2602407cb23042ef
Author: Monty Taylor <mordred@xxxxxxxxxxxx>
Date: Wed May 16 17:30:46 2012 -0400
Add openstack project infrastructure.
Now, I am wondering, why is it necessary to keep this inside the
swiftclient/ directory?
My problem is that if I do nothing too crazy, the following RPM
.spec packages the aforementioned directory, too:
%{python_sitelib}/swiftclient
For now I resorted to running this after python setup.py install:
rm -r %{buildroot}%{python_sitelib}/swiftclient/openstack
Still... As an experiement, I moved the openstack/ one level up,
changed swiftclient.openstack.common to openstack.common in setup.py,
and everything seems to be working.
-- Pete
Follow ups