Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

A hack for Zope and a transparency buff#36

Merged
nficano merged 2 commits into
nficano:masterfrom
CorbinSimpsonAcquia:zope-hack
May 15, 2017
Merged

A hack for Zope and a transparency buff#36
nficano merged 2 commits into
nficano:masterfrom
CorbinSimpsonAcquia:zope-hack

Conversation

@CorbinSimpsonAcquia

Copy link
Copy Markdown
Contributor

Just a couple patches that we needed to put some stuff on Lambda.

This is necessary to make Zope packages like zope.interface usable,
which in turn enables fun things like Twisted.
If you see, for example, "Bundling: 'all_my_ec2_keys.txt'", perhaps a
Ctrl+\ is in order.
@nficano

nficano commented May 10, 2017

Copy link
Copy Markdown
Owner

I'm not super familiar with Zope, can you please explain the issue and how this fixes it?

@CorbinSimpsonAcquia

Copy link
Copy Markdown
Contributor Author

The issue is that Zope's various pieces use namespace packages, which rely on setuptools .pth magic to work properly. If you install only zope.interface, then there will not be a zope/__init__.py file. This is a simple and quick fix to make it work again.

I needed this in order to be able to run Twisted on Lambda.

@CorbinSimpsonAcquia

Copy link
Copy Markdown
Contributor Author

Hi! What work can I do on this to make it better?

@nficano nficano merged commit 68fce62 into nficano:master May 15, 2017
@CorbinSimpsonAcquia CorbinSimpsonAcquia deleted the zope-hack branch May 15, 2017 18:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants