Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about "from paste.deploy import loadapp" #25

Closed
4383 opened this issue Jun 14, 2019 · 2 comments

Comments

@4383
Copy link

commented Jun 14, 2019

Hello

I've some questions concerning this code from paste.deploy import loadapp

I can't find any deploy module in the source code of paste, also I don't find any entry_points or things like that related to deploy your setup.py or no dynamic definition of it in the __init__.py mechanismes....

Maybe I missing something... so... can you indicate to me where I can find the deploy module and the loadapp function, and also explain how you load this module and the black magic behind that.

Do not hesitate to ask me questions if needed.

I waiting for your reply.

Thanks by advance for your help and your time :)

@cdent

This comment has been minimized.

Copy link
Owner

commented Jun 14, 2019

Heh, yeah, it is pretty weird and hard to figure out. This is one the things that predates my time maintaining paste. Basically at some point in the past people realized that paste.deploy was one of the main useful parts of paste and they didn't want all the rest of paste, so it was extracted. As paste and paste.deploy both got "old" maintenance sort of diverged. They are still maintained, but as separate packages.

paste.deploy is under the domain of the Pylons project (and I'm a maintainer of it over there too): https://github.com/Pylons/pastedeploy and https://pypi.org/project/PasteDeploy/

If that covers it, feel free to close this. If not, let me know how else I can help.

@4383

This comment has been minimized.

Copy link
Author

commented Jun 14, 2019

@cdent excellent! fair enough.

I'll close it now.

Thanks for the free guided tour :)

@4383 4383 closed this Jun 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.