Hi, On 08/07/2013 03:56 AM, Sascha Peilicke wrote:
Am 6. August 2013 00:23:46 schrieb Robert Schweikert
: Hi,
I need to package gcutil and gsutil, starting with gcutil (https://code.google.com/p/google-compute-engine-tools/ , https://developers.google.com/compute/docs/gcutil/#install)
<snip>
So,
1) Add "scripts" to your setup.py using the real main executable to have this one installed into /usr/bin 2) Patch out path_initializer to not mess with PYTHONPATH 3) Only install lib/google_* (means not using setuptools.find_packages but listing them individually. technically distutils should be sufficient if you don't use that function anymore) 3.1) lib/google_app_utils/google goes into %python_sitelib/google 3.2) google_compute_engine/gcutil goes into %python_sitelib/gcutil 4) require stuff mentioned above.
It took me a while to get back to this, ugh. I think I may have found a solution that should be OK. However, I'd appreciate if I could get some extra eyes on the package. https://build.opensuse.org/package/show/Cloud:Tools/gcutils I have not tested the result yet, first trying to sort out the structure of it all. Getting closer to Factory acceptability? Help is, as always, appreciated. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org