Python egg windows install




















For a full list of commands, you should read the documentation. An egg file is a distribution format for Python packages. It's just an alternative to a source distribution or Windows executable, but it should be noted that for pure Python, the egg file is completely cross-platform.

We will take a look at how to create our own egg using the package we created in a previous tutorial. Create a new folder and put the mymath folder inside it. Then create a setup. Note that instead of using Python's distutils' setup function, we're using setuptools' setup. To create said egg, you'll need to do the following from the command line:. Then create a setup. Python has its own package for creating distributions that is called distutils.

The only one we care about is the dist folder in which you will find your egg file, mymath Note that on my machine, I forced it to run against Python 3. The egg file itself is basically a zip file. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.

The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 3. Related Hot Network Questions. Question feed. But this script takes an egg-file as argument, and installs it. Duncan Booth. John Nagle. So you can rename them to ". John Nagle wrote: Diez B. John Nagle thanks guys, I'm slowly getting the picture.

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. This discussion thread is closed Start new discussion.

Similar topics. NET Framework.



0コメント

  • 1000 / 1000