473,585 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is there a standard way to "install" egg-files under windows ?

hello,

after 4 months playing around with Python,
and I still have troubles with egg files.
Sometimes it works, sometimes it doesn't.

If I google on "python egg", I get lost of links,
which contains huge pages of information,
and I'm totally scared off.

I've used several methods,
the last one, success with 1 egg file, no success with another egg-file:
- download ez_setup.py and put it in a sub-directory of the Python path
- open an Python IDE
- open the ez_setup.py in the IDE
- dump the egg files in the same directory as ez_setup.py
- set in the IDE, the commandline parameters to the egg-filename (no path)
- run ez_setup.py in the IDE

Can someone tell how to install an egg file in just 1 line ?
Or even better, can there be an icon on the desktop, where I just can drop the egg-file ?

thanks,
Stef Mientki
May 30 '07 #1
4 28955
Stef Mientki schrieb:
hello,

after 4 months playing around with Python,
and I still have troubles with egg files.
Sometimes it works, sometimes it doesn't.

If I google on "python egg", I get lost of links,
which contains huge pages of information,
and I'm totally scared off.

I've used several methods,
the last one, success with 1 egg file, no success with another egg-file:
- download ez_setup.py and put it in a sub-directory of the Python path
- open an Python IDE
- open the ez_setup.py in the IDE
- dump the egg files in the same directory as ez_setup.py
- set in the IDE, the commandline parameters to the egg-filename (no path)
- run ez_setup.py in the IDE

Can someone tell how to install an egg file in just 1 line ?
Or even better, can there be an icon on the desktop, where I just can
drop the egg-file ?
setuptools - which you install using the ez_setup.py - will install a
script called easy_install. Under unix, this is installed in /usr/bin,
I'm not sure where it is installed under windows - go use a search.

But this script takes an egg-file as argument, and installs it.

So - either open the shell of your choice and type

easy_install <egg>

or maybe you can even use that via drag-n-drop to a desktop-link to that
easy_install-script, as dropping an egg over a program icon should pass
that as first argument.
Diez
May 30 '07 #2
"Diez B. Roggisch" <de***@nospam.w eb.dewrote:
setuptools - which you install using the ez_setup.py - will install a
script called easy_install. Under unix, this is installed in /usr/bin,
I'm not sure where it is installed under windows - go use a search.
It puts easy_install.ex e (and variations on it) in C:\Python25\Scr ipts
(replace C:\Python25 with the path to your python installation).
May 30 '07 #3
Diez B. Roggisch wrote:
Stef Mientki schrieb:
>hello,

after 4 months playing around with Python,
and I still have troubles with egg files.
Sometimes it works, sometimes it doesn't.

If I google on "python egg", I get lost of links,
which contains huge pages of information,
and I'm totally scared off.
".egg" files are actually ".zip" files. So you can
rename them to ".zip" and unpack them where they need to go.
This is usually easier than debugging "easy_insta ll".

John Nagle
May 31 '07 #4
John Nagle wrote:
Diez B. Roggisch wrote:
>Stef Mientki schrieb:
>>hello,

after 4 months playing around with Python,
and I still have troubles with egg files.
Sometimes it works, sometimes it doesn't.

If I google on "python egg", I get lost of links,
which contains huge pages of information,
and I'm totally scared off.

".egg" files are actually ".zip" files. So you can
rename them to ".zip" and unpack them where they need to go.
This is usually easier than debugging "easy_insta ll".

John Nagle
thanks guys,

I'm slowly getting the picture.
Now knowing it's a zip file,
and trying several egg-files through easy_install,
I noticed different things,
- sometimes the egg is unzipped and placed in the "site-package" directory
- sometimes it's just copied (unzipped) to the site-package directory.

My first conclusion that egg-installation didn't work sometimes,
has probably to do with version conflicts between the already installed
libs and the new to install libs,
but I guess that's the benefit of open source ;-)

So if that's all, the renaming to .zip might be a less obscure way of
working.

cheers,
Stef Mientki
May 31 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1448
by: John Roper | last post by:
Hi, I have a web deployment project that asks for the port number in the standard dialog (along with the virtual directory). I also install a web service and this does not have an associated dialog. How do I use the port number (filled in the first dialog) when installing the web service? I reckon I should change the propety for the port of...
13
2263
by: Adam | last post by:
My "C:\" is getting full. What's the best way to install "wxWindows" without taking up 115 MB from my "C:\" ? Why do the following: MS Visual Studio, wxWindows, Borland C++, Stingray Objective Studio, ARM SDT, etc. like to install source code to the "C:\" drive?
5
2854
by: Dan C Douglas | last post by:
I have just installed VS.NET 2003 on my computer. I have a project that I have been developing on VS.NET 2002. I haven't upgraded this project to VS.NET 2003 yet and I am still developing it in VS.NET 2002. When I am putting values from my SQLDataReader into labels and text boxes I am getting results such as 400.0000, or 25.90. For...
3
2772
by: Oscar Thornell | last post by:
Hi, I am looking for a technique where you from the serverside push/update a standard web browser with small piceces of data. An exempel could be sports result or stock exchange information. I do not want to use Java Applets, ActiveX controls or force the clients to download .NET Assemblies (and install the .NET Runtime...) If at all...
59
7146
by: Jeff Bowden | last post by:
For ease of configuration and other reasons, I would like for my single-user GUI app to be able to use postgresql in-process as a library accessing a database created in the users home directory. I think I could possibly get what I want by launching a captive copy of postmaster with appropriate args but it seems conceptually cleaner to not...
5
4516
by: funkyj | last post by:
I love pexpect because it means I may never have to use expect again (I don't do any heavy expect lifting -- I just need simple tty control)! As a python advocate I find it embarassing how difficult it is do the following in python (without pexpect): - logon to a remote system using ssh - do an 'ls' and exit the remote shell - print the...
4
15083
by: Ronald S. Cook | last post by:
I created an MSI install for a Windows app I wrote. When installing, however, it defaults to install for "Just Me" instead of "Eveveryone" (meaning anyone who uses this computer). I would like the default deslection to be the latter. How can I change this, please? Thanks! Ron
1
3853
by: Eric West | last post by:
Hello gurus of the internet- I'm trying to install PHP on a system with MySQL I've had success using MySQL which was installed via "yum install mysql" on my CentOS 4.3 system. My problem is that I'd really like to use Mysql5, but when I install it via MySQL-client-standard-5.0.26-0.rhel4.i386.rpm and...
4
3684
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. Environment: Solaris 9 php 5.2.1 GNU Make 3.81 gcc 4.1.1
8
5603
by: VijaKhara | last post by:
Hi all, Please tell me how to create a file (using fopen) in a sub-folder (such as sub-folder "Mygoal")? I tried if ( ( fp = fopen ( "mygoal\myfile.tif", "wb" ) ) == NULL ) { fprintf ( stderr, "cannot open file %s\n"); exit ( 1 ); }
0
7904
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8195
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7947
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8209
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5707
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5386
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1444
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1171
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.