[Openstack] [swift]

Chuck Thier cthier at gmail.com
Mon Feb 11 17:07:44 UTC 2013


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 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
>




More information about the Openstack mailing list