Skip to content
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

The sage-env script doesn't respect PYTHONPATH #12639

Closed
SnarkBoojum mannequin opened this issue Mar 7, 2012 · 8 comments
Closed

The sage-env script doesn't respect PYTHONPATH #12639

SnarkBoojum mannequin opened this issue Mar 7, 2012 · 8 comments

Comments

@SnarkBoojum
Copy link
Mannequin

SnarkBoojum mannequin commented Mar 7, 2012

I was hacking happily in python in a directory. Then I decided I wanted to use that code with sage, and set PYTHONPATH to point to it. And sage still didn't find it...

The reason is that sage-env overwrites PYTHONPATH instead of prepending to it.

Component: scripts

Author: Julien Puydt

Issue created by migration from https://trac.sagemath.org/ticket/12639

@SnarkBoojum SnarkBoojum mannequin added this to the sage-5.11 milestone Mar 7, 2012
@SnarkBoojum SnarkBoojum mannequin added c: scripts labels Mar 7, 2012
@SnarkBoojum SnarkBoojum mannequin assigned nexttime Mar 7, 2012
@SnarkBoojum
Copy link
Mannequin Author

SnarkBoojum mannequin commented Mar 7, 2012

Patch to make sage-env respect PYTHONPATH

@SnarkBoojum
Copy link
Mannequin Author

SnarkBoojum mannequin commented Mar 7, 2012

comment:1

Attachment: trac-12639.patch.gz

@SnarkBoojum SnarkBoojum mannequin added the s: needs review label Mar 7, 2012
@mwhansen
Copy link
Contributor

comment:2

See #3784

@jhpalmieri
Copy link
Member

comment:3

Replying to @mwhansen:

See #3784

In more detail: first, use SAGE_PATH for this rather than PYTHONPATH. Second, this ticket should probably be closed as invalid or as a duplicate of #3784.

@jdemeyer
Copy link

comment:4

Please fill in your real name as Author.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Jul 27, 2012

Author: Julien Puydt

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@rwst
Copy link

rwst commented Mar 30, 2014

comment:8

Needs info from reporter if SAGE_PATH solves his problem.

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@fchapoton
Copy link
Contributor

comment:11

duplicate of #3784 : please use SAGE_PATH for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants