[Openstack] [swift]

John Dickinson me at not.mn
Mon Feb 11 17:08:16 UTC 2013


This is the result of `python ./setup.py develop`. That command sets up the scripts to reference your local source so that active dev work is immediately reflected.

`python ./setup.py install` would actually copy the scripts to the "right" locations.

--John




On Feb 11, 2013, at 9:02 AM, Kun Huang <Academicgareth at gmail.com> wrote:

> Hi, swift developers
> 
> I found the script /usr/local/bin/swift is:
> 
> #!/usr/bin/python  -u
> # EASY-INSTALL-DEV-SCRIPT: 'python-swiftclient==1.3.0.4.gb5f222b','swift'
> __requires__ = 'python-swiftclient==1.3.0.4.gb5f222b'
> from pkg_resources import require; require('python-swiftclient==1.3.0.4.gb5f222b')
> del require
> __file__ = '/home/swift/bin/python-swiftclient/bin/swift'
> execfile(__file__)
> 
> It seems generated by easy_install, but I didn't found which step did this. (I use SAIO to build swift environment).
> 
> Could someone do me a favor? Which command in SAIO generated swift scripts in /usr/local/ .
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4082 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130211/5e67d240/attachment.bin>


More information about the Openstack mailing list