Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208475 Details for
Bug 201321
sci-mathematics/sage (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ipy_profile_sage
ipy_profile_sage.py (text/plain), 831 bytes, created by
Steven Trogdon
on 2009-10-28 02:57:22 UTC
(
hide
)
Description:
ipy_profile_sage
Filename:
MIME Type:
Creator:
Steven Trogdon
Created:
2009-10-28 02:57:22 UTC
Size:
831 bytes
patch
obsolete
>import os >if 'SAGE_CLEAN' not in os.environ: > import sage.misc.misc > from sage.misc.interpreter import preparser, _ip > preparser(True) > > import sage.all_cmdline > sage.all_cmdline._init_cmdline(globals()) > > _ip.ex('from sage.all import Integer, RealNumber') > os.chdir(os.environ["CUR"]) > import sage.misc.interpreter > > from sage.misc.interpreter import attached_files > > branch = sage.misc.misc.branch_current_hg_notice(sage.misc.misc.branch_current_hg()) > if branch: > print branch > > if not os.environ.has_key('SAGE_IMPORTALL') or os.environ['SAGE_IMPORTALL'] != "no": > _ip.ex('from sage.all_cmdline import *') > > > startup_file = os.environ.get('SAGE_STARTUP_FILE', '') > if os.path.exists(startup_file): > _ip.options.autoexec.append('load %s'%startup_file)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201321
:
137773
|
138064
|
138066
|
141407
|
141408
|
141410
|
141412
|
141414
|
141416
|
141417
|
141418
|
142615
|
142616
|
142618
|
142619
|
143099
|
143100
|
208108
|
208276
|
208278
|
208279
|
208383
|
208385
|
208386
|
208391
|
208393
|
208394
|
208405
|
208471
| 208475