Changes between Initial Version and Version 1 of Ticket #12402, comment 125


Ignore:
Timestamp:
12/02/16 12:02:34 (5 years ago)
Author:
tmonteil
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12402, comment 125

    initial v1  
    1 For this, you should put the `threejs_template.html` file in some `SAGE_ROOT/src/ext/threejs/` directory (or replace threejs by something more appropriate if you think it is a good idea). Then it will be automatically copied to `SAGE_ROOT/local/share/sage/ext/threejs/`, and you should access it with `os.path.join(SAGE_EXT, 'threejs', 'threejs_template.html')` because some distros split the stuff and do not have such thing as `SAGE_ROOT`.
     1For this, you should put the `threejs_template.html` file in some `SAGE_ROOT/src/ext/threejs/` directory (or replace threejs by something more appropriate if you think it is a good idea). Then it will be automatically copied to `SAGE_ROOT/local/share/sage/ext/threejs/`, and you should access it with `os.path.join(SAGE_EXTCODE, 'threejs', 'threejs_template.html')` because some distros split the stuff and do not have such thing as `SAGE_ROOT`.