Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Can't 'register' to Cheese Shop from command line..only web + egg dependency question

Reply
Thread Tools

Can't 'register' to Cheese Shop from command line..only web + egg dependency question

 
 
seberino@spawar.navy.mil
Guest
Posts: n/a
 
      12-07-2006
I seem to be able to register and upload from web site but not command
line. Command line register attempts keep giving " Server response
(401): Authorization Required"

Any ideas?

& What must I do to make installation of my egg also install
dependencies? I did an install and noticed other eggs didn't come
along for
the ride.

Chris

 
Reply With Quote
 
 
 
 
Adam Jones
Guest
Posts: n/a
 
      12-07-2006

http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> I seem to be able to register and upload from web site but not command
> line. Command line register attempts keep giving " Server response
> (401): Authorization Required"
>
> Any ideas?


You probably need to set up a .pypirc file in your home directory. Info
here:
http://www.python.org/~jeremy/weblog/030924.html

>
> & What must I do to make installation of my egg also install
> dependencies? I did an install and noticed other eggs didn't come
> along for
> the ride.


Your setup.py file should have a "install_requires" parameter to the
setup function. Most likely it is a list. Add the names of the projects
you are trying to require and (optionally) the version. Here is a
sample:

install_requires = [ "FooBar", # installs latest version
of 'FooBar'
"Stump >= 1.0b2"], # installs 'Stump' of
version 1.0b2 or later

Full docs on this are here:
http://peak.telecommunity.com/DevCenter/setuptools

-Adam
>
> Chris


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linecache vs egg - reading line of a file in an egg R. Bernstein Python 3 12-21-2008 10:07 AM
round-trip from egg to code and back to egg Catherine Python 2 10-08-2007 10:20 PM
Cheese Shop Registration error alefnula@gmail.com Python 9 09-20-2006 10:00 AM
Cheese Shop: some history for the new-comers richard Python 58 03-18-2006 12:51 PM
cheese shop registration error Todd Greenwood-Geer Python 4 12-01-2005 12:18 AM



Advertisments