← Back to team overview

openstack team mailing list archive

Re: [swift]

 

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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

Attachment: smime.p7s
Description: S/MIME cryptographic signature


References