Open wdjoyner opened 15 years ago
Attachment: trac_6741-pil.patch.gz
requires pil-1.1.6, applies to 4.1.1.rc2
Description changed:
---
+++
@@ -1 +1,3 @@
The attached patch implements several functions providing a simpler interface to the Python Imaging Library. For example, you can sharpen the image of an image on the internet you have the url of and save it to Sage's tmp subdirectory.
+
+
This sage-devel thread has a discussion about making PIL a standard spkg. The vote for doing so was carried out in that thread.
This looks very nice. However, the doctests write to SAGE_ROOT/tmp, which means that a normal user cannot run doctests on this file. Isn't there somewhere else that we should write temporary data during a doctest? Maybe using SAGE_TMP or something like that?
I guess there isn't a SAGE_TMP. How about a temporary directory under .sage?
Replying to @jasongrout:
I guess there isn't a SAGE_TMP. How about a temporary directory under .sage?
Yes.
Nice work; thanks for doing this!
Marking as "needs work" for the following reasons:
Replying to @jasongrout:
Nice work; thanks for doing this!
Marking as "needs work" for the following reasons:
Arrgghh ... Just saw this now, going through old emails.
I will try to work on these referee comments/suggestions now. It probably needs rebasing anyway. Sorry for the late reply.
Good news: it applies fine and does not need rebasing.
Bad news: Now I can't even get the code to work. I've tried on an imac (which requires some extra work to get libjpeg to install) and on an ubuntu machine. Probably I'm missing something obvious, but I don't know what it is.
Attachment: trac_6741_cleanup1.patch.gz
Description changed:
---
+++
@@ -1,3 +1,5 @@
The attached patch implements several functions providing a simpler interface to the Python Imaging Library. For example, you can sharpen the image of an image on the internet you have the url of and save it to Sage's tmp subdirectory.
-
+Apply:
+* [attachment: trac_6741-pil.patch](https://github.com/sagemath/sage/files/ticket6741/5adc0b82e6f8245c71386ccf3335b290.gz)
+* [attachment: trac_6741_cleanup1.patch](https://github.com/sagemath/sage-prod/files/10645862/trac_6741_cleanup1.patch.gz)
Work Issues: doc, font_manager
ok, here is a cleanup patch.
There is an issue with fontmanager that I do not understand
Can one mark in some way the tests that depends on the presence of libpeg ?
Something like # optional libjpeg ?
Branch: u/chapoton/6741
Branch pushed to git repo; I updated commit sha1. New commits:
3fd7a6e | Merge branch 'u/chapoton/6741' in 7.3.rc0 |
The attached patch implements several functions providing a simpler interface to the Python Imaging Library. For example, you can sharpen the image of an image on the internet you have the url of and save it to Sage's tmp subdirectory.
Apply:
Component: packages: standard
Work Issues: doc, font_manager
Branch/Commit: u/chapoton/6741 @
3fd7a6e
Issue created by migration from https://trac.sagemath.org/ticket/6741