<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">can't you use python setup.py develop?<div><br></div><div>That is the general way of setting stuff up in dev mode.</div><div><br></div><div>Vish</div><div><br><div><div>On May 16, 2012, at 9:12 AM, Lorin Hochstein wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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. <div><br></div><div>I tried to do this:<div><br></div><div>export PYTHONPATH=~/python-openstackclient</div><div><div>alias openstack="python ~/python-openstackclient/openstackclient/shell.py"</div></div><div><br></div><div>And it sort of works, but I get an unpleasant warning whenever I run things:</div><div><br></div><div><div>/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</div></div><div><br></div><div><br></div><div>So I assume there's a better way than what I'm doing.</div><div><br></div><div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Take care,</div><div><br></div><div>Lorin</div><div>--</div><div>Lorin Hochstein</div><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div><div><br></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div></div>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>