-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Installing python-social-auth as a dependecie for mailman3 with buildout fails #623
Comments
You can test the install with buildout by creating a file called "buidout.cfg" in a temporary directory with the following content: [buildout]
parts = main
[main]
recipe = zc.recipe.egg
eggs = python-social-auth And running the "buildout" command. |
I created a new temporary user, build a virtual environment and tested python-social-auth with buildout in two different versions.
buildout.cfg (#1) [buildout]
parts = main
[main]
recipe = zc.recipe.egg
eggs = python-social-auth It fails:
buildout.cfg (#2) [buildout]
parts = main
[main]
recipe = zc.recipe.egg
eggs = python-social-auth<0.2.9 It succeeds:
|
Same problem over here. I did a manual download of python-social 0.2.9, untar, python setup.py bdist_egg, unzip of that egg, and the mailman3 buildout continued without complaints. (No idea what I did though, I never use buildout nor eggs.) |
Apparently this change:
I had to install the former to make things work. Installing the latter complained about py3-only stuff. (mailman setup scripts use py2). |
OK I found the reason. In
The fix is as easy as: diff --git a/MANIFEST.in b/MANIFEST.in
index 2cf5b48..d2fef43 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -7,7 +7,6 @@ recursive-include social/tests *.txt
graft examples
recursive-exclude .tox *
-recursive-exclude python_social_auth.egg-info *
recursive-exclude social *.pyc
recursive-exclude examples *.pyc
recursive-exclude examples *.db I'll send you a pull request ASAP. |
Please, apply the patch from abompard and release a new version. Until that happens, I can only use the version 0.2.7 |
I tried to install Mailman 3 and its companions (Hyperkitty, Postorius) on a
Ubuntu 14.04.2 LTS using the mailman-bundler. I followed the docs:
http://mailman-bundler.readthedocs.org/en/latest/
It fails while trying to install 'python-social-aut':
(venv)mailman@jiffy02:~/mailman-bundler$ buildout
Getting distribution for 'python-social-auth>=0.2.3'.
No eggs found in
/tmp/easy_install-LK6bYy/python-social-auth-0.2.9/egg-dist-tmp-FzLeGP (setup
script problem?)
While:
Installing mailman-web.
Getting distribution for 'python-social-auth>=0.2.3'.
Error: Couldn't install: python-social-auth 0.2.9
I checked with the folks from mailman3 and they told me to file a bug here.
The text was updated successfully, but these errors were encountered: