Hi William!

On 22 Aug., 12:25, William Stein <wst...@gmail.com> wrote:
[...]
> No, use the SAGE_DATA variable, which is defined in misc/misc.py:

Thank you, I didn't know about that one.
Is it for data that concern the whole Sage installation, or is it
specific to a single user (like DOT_SAGE)?

In the former case, probably it would also be the right place for my
group cohomology data base (that I currently put into SAGE_LOCAL/
pGroupCohomology/), wouldn't it?

But how can one tell setup.py that it is supposed to use SAGE_DATA?

'cause, if one has

setup(
  name = "packagename",
...
  data_files=[("Folder",
              ["File1",
               "File2"]),
              ("Folder/Subfolder", [...]),
...
)

then the data files seem to be copied to SAGE_ROOT/local/Folder and
SAGE_ROOT/local/Folder/Subfolder, if I'm not mistaken. Note, in
particular, that they all go into SAGE_LOCAL, not SAGE_DATA

Best regards,
Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to