openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11876
Re: [client] Hacking on the client
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@xxxxxxxxxxxxxxxxxx>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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
References