What is PasteDeploy and do I need to study it if the eggs in Python are considered missing?

I am new to Python. I downloaded the Pyramid Framework and tried to figure it out. He uses many separate tools for his work. For example, some PasteDeploy . I tried to read the PasteDeploy manual , but I can’t understand anything. There are almost no practical examples and explanations. Just the syntax. All I understand is that the .egg format is used everywhere. It is based on the .egg format:

 [composite:main] use = egg:Paste#urlmap [app:home] use = egg:Paste#static [app:blogapp] use = egg:BlogApp 

At the same time, I found that the .egg format .egg be dropped from a future Python package. Here is the source . And also at the same time the pyramid is built around eggs too. Each component in its env\Lib\site-packages is an egg component:

 chameleon-2.11-py3.3.egg distribute-0.6.31-py3.3.egg pastedeploy-1.5.0-py3.3.egg pyramid-1.4-py3.3.egg ... and so on 

Therefore, I do not understand why it uses the .egg format if it is considered to be kind of "obsolete"? Why does he use PasteDeploy , which itself uses the almost obsolete .egg format? Should I get to know PasteDeploy or are there some more progressive tools, but I still don't know about them? Will the .egg format .egg replaced in Pyramid in the near future?

+6
python pyramid egg
Feb 15 '13 at 20:22
source share
1 answer

The format of the egg is absolutely not outdated and nowhere that you read is for you. There are many problems with Python packaging, but Pyramid covers state-of-the-art.

Your link discusses future goals, but you cannot judge anything that does not yet have a replacement. It will be many years before the oviposition is actually discarded (there are thousands of packages that use it). This document just discusses the futuristic goals for which everything should go, and (ignoring Python 3) the community has a strong sense of backward compatibility, so even if new formats appear, the eggs will continue to be supported for a long time.

PasteDeploy is a package that uses Pyramid to parse INI files, configure the WSGI pipeline, and configure the WSGI server.

The documentation for PasteDeploy can be a little crude unless you have something specific that you are trying to find. Pyramid docs describe the basic INI settings well enough for you to live for a while, and if you have something you are trying to achieve that you cannot find, ask another question about SO or use the mailing list.

Besides all this, PasteDeploy again used to parse INI files. The pyramid itself does not actually require the use of INI in this way, but it is the easiest way to get people to leave the earth.

+9
Feb 15 '13 at
source share



All Articles