To fix python issues with gcutil 1.13 and python 3.3
```
/usr/local/bin/python
#!/bin/bash
script=`readlink -f -- "$1"`
case "$script" in (/path/to/project1/*|/path/to/project2/*|/path/to/project3*)
exec python2 "$@"
;;
esac
script=`readlink -f -- "$2"`
case "$script" in (/path/to/project1/*|/path/to/project2/*|/path/to/project3*)
exec python2 "$@"
;;
esac
exec python3 "$@"
```
Search Criteria
Package Details: gcutil 1.11.0-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2013-12-03)
| Package Base: | gcutil |
|---|---|
| Description: | A command-line tool to manage Google Compute Engine resources |
| Upstream URL: | https://developers.google.com/compute/docs/gcutil/ |
| Category: | devel |
| Licenses: | |
| Submitter: | jarondl |
| Maintainer: | jarondl |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2013-10-17 08:06 |
| Last Updated: | 2013-11-16 12:32 |
Dependencies (1)
Required by (0)
Sources
Latest Comments
Comment by reyncor
Comment by jarondl
This installation method was deprecated by Google.
They now have a set of bash scripts to install the google cloud sdk. It is not standard in any way, installs its own files on its own places, and intrusively adds itself to the user PATH, instead of using recognised places such as /usr/bin.
I have no idea how to PKBUILD it in a normal way. Google went several steps back with this to somewhere in the nineties. Disappointing.
Comment by jarondl
Hi @alice and @jdunn,
Sorry for the late reply, I was on vacation.
I will look into this later today. It seems like they completely changed the installation procedure again to something even less modern..
Comment by alice
1.12.0 is out :)
Also, since the official docs now point to installing the Google Cloud SDK instead with gcutil bundled, do you have any plans on making a PKGBUILD for that?
https://developers.google.com/compute/docs/gcutil/#install
Comment by jdunn
WARNING: There is a new version of gcutil available. Go to: https://developers.google.com/compute/docs/gcutil
WARNING: Your version of gcutil is 1.11.0, the latest version is 1.12.0.