← Back to team overview

openstack team mailing list archive

Re: [swift]

 

Howdy,

The scripts are generated when setup.py is run (either as `setup.py
install` or `setup.py develop`

--
Chuck

On Mon, Feb 11, 2013 at 11: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
>


References