[Openstack] [client] Hacking on the client

Matt Joyce matt.joyce at cloudscaling.com
Wed May 16 21:52:05 UTC 2012


I actually just use a devstack install inside of a vm and do a full
setup.py install with all the dependencies.  Then if I need to i rebuild or
rebuild the vm.

I shell scripted some direct to libvirt stuff to make it just fire up at
will from scratch if needed or just restart the vm.

-Matt


On Wed, May 16, 2012 at 9:12 AM, Lorin Hochstein
<lorin at nimbisservices.com>wrote:

> If I want to hack on python-openstackclient, how should I set things up so
> I don't need to install the egg to run it? I know how to install it, but
> I'd like to be able to make changes and run them without going through an
> install cycle.
>
> I tried to do this:
>
> export PYTHONPATH=~/python-openstackclient
> alias openstack="python ~/python-openstackclient/openstackclient/shell.py"
>
> And it sort of works, but I get an unpleasant warning whenever I run
> things:
>
> /Users/lorin/.virtualenvs/client/lib/python2.7/site-packages/cliff/commandmanager.py:6:
> UserWarning: Module argparse was already imported from
> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.pyc,
> but /Users/lorin/.virtualenvs/client/lib/python2.7/site-packages is being
> added to sys.path
>
>
> So I assume there's a better way than what I'm doing.
>
>
> Take care,
>
> Lorin
> --
> Lorin Hochstein
> Lead Architect - Cloud Services
> Nimbis Services, Inc.
> www.nimbisservices.com
>
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120516/7263d0e7/attachment.html>


More information about the Openstack mailing list