flyfire / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

easy_install not working for googlecl #274

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. easy_install googlecl

What is the expected output? What do you see instead?
Should download & install googlecl and gdata but instead of tar.gz (I'm on 
linux) it downloads the zip (not that it's bad...) and stares an error like 
"the package does not contain a setup file".

Sorry if I can't reproduce exactly the error message but after that I 
downloades source and installed by myself and now I can't get the error again...

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
easy_install on python 2.6 on Wary 030 (Puppy Linux)

Please provide any additional information below.
I know it's easy to install from source but I wanted to make a one-click 
installer shell script for fellas on PuppyLinux forum (and others) that 
downloads & install setuptools and then installs googlecl and gdata.

Original issue reported on code.google.com by neur...@gmail.com on 2 Sep 2010 at 2:29

GoogleCodeExporter commented 8 years ago
I just updated the pypi archive with 0.9.10, so this should be working now. It 
was done incorrectly for 0.9.9.

Can you try writing the script again and let me know if something is awry? 
Thanks.

Original comment by tom.h.mi...@gmail.com on 3 Sep 2010 at 2:15

GoogleCodeExporter commented 8 years ago
As already said I can't try it since I already have installed googlecl 
downloading source.

At the moment querying easy_install returns me again googlecl-0.9.9-py2.6.egg...

Anyway the script should be something like (assuming you don't already have 
easy_install installed...):

#!/bin/bash

# change to `py2.5` according to your python version
setuptools="setuptools-0.6c11-py2.6.egg"

#download setuptools
wget -c -P "/tmp" 
"http://pypi.python.org/packages/2.6/s/setuptools/${setuptools}#md5=bfa92100bd77
2d5a213eedd356d64086"

#set executable
chmod a+x "/tmp/${setuptools}"

#install setuptools
"/tmp/${setuptools}"

#install googlecl and deps using setuptools' easy_install
[ "$?" -eq 0 ] && easy_install googlecl

I'll post it to the forum when 0.9.10 comes up and tell you if someone tries it 
:)
Cheers

Original comment by neur...@gmail.com on 3 Sep 2010 at 2:48

GoogleCodeExporter commented 8 years ago
This problem also affects me.

Original comment by pts...@gmail.com on 26 Oct 2010 at 7:28

GoogleCodeExporter commented 8 years ago
I've asked the maintainers of easy_install about this. I see what easy_install 
is doing wrong, but I don't know how to tell it what to do. Hopefully I'll get 
this straightened out soon.

Original comment by thmil...@google.com on 29 Oct 2010 at 4:52

GoogleCodeExporter commented 8 years ago
Turns out I'm not very good at picking naming conventions. The way that 
easy_install works and how I've named the downloads, it will just always try to 
grab windows versions.

You can solve this for 0.9.11 by passing the URL directly:

easy_install http://googlecl.googlecode.com/files/googlecl-0.9.11.tar.gz

I'll switch over to a easy_install-friendly naming scheme for 0.9.12 to make 
this easy.

Original comment by tom.h.mi...@gmail.com on 29 Oct 2010 at 9:36

GoogleCodeExporter commented 8 years ago
Minor note:
This also affects pip when using 

pip install googlecl

it downloads the _win package and fails but

pip install http://googlecl.googlecode.com/files/googlecl-0.9.11.tar.gz

works

Original comment by jens.per...@gmail.com on 2 Nov 2010 at 11:05