-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Switch from setuptools to Distribute #7230
Comments
comment:1
I should say -- I've currently got a build from scratch running on my machine; I'll report any trouble I run into. |
comment:3
It worked fine for me on sage.math, but with a 64-bit build on Mac OS X 10.5, it didn't: when it tried to build Sphinx, it couldn't find Jinja. (Then I very cleverly deleted the log file, so I can't reproduce the exact error message. I'm building again, trying both 32- and 64-bit, and I'll post the error message assuming I get it again.) Also, #6586 has just been merged in to 4.2.alpha0, and this includes jinja2 (in addition to jinja). Do you need to modify deps and install to deal with jinja2? |
comment:4
Yep, it failed on my Mac, too. I have no idea why: it's having trouble finding the Jinja egg, which is there in
It's clearly trying to go out and grab a dependency from the internet -- but I don't know why. In theory, that dependency should be provided already ... here's
It's identical to the |
comment:5
Well, I couldn't reproduce that error because I got one when trying to build jinja; it's still trying to use setuptools:
I get this with both 32-bit and 64-bit. As I said earlier, I've also seen a different error -- it got a little farther and bombed when it reached Sphinx, and it was trying to download Jinja1.2. In that case, there were files "setuptools.pth" and "setuptools-0.6....egg" in SAGE_ROOT/local/lib/python/site-packages by the time the build failed. |
comment:7
This can be closed: #11363 has made it redundant. |
Reviewer: John Palmieri |
Changed author from Craig Citro to none |
Distribute is a fork of setuptools that aims to be open and actively maintained. It's also run by a handful of core Python devs.
There's a new spkg file, as well as updates to
spkg/install
andspkg/standard/deps
. All three are sitting in this directory:http://sage.math.washington.edu/home/craigcitro/distribute-spkg/
To test, delete the setuptools spkg, drop in the new
install
anddeps
, and then build sage. (Or, alternately, build the two spkgs that currently depend on setuptools -- Jinja and SQLAlchemy.)CC: @williamstein @mwhansen @nexttime
Component: build
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/7230
The text was updated successfully, but these errors were encountered: