Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
activate_this Namespace Reference

Variables

 abs_file = os.path.abspath(__file__)
 
str msg = "You must use exec(open(this_file).read(), {'__file__': this_file}))"
 
 bin_dir = os.path.dirname(abs_file)
 
 base = bin_dir[: -len("bin") - 1]
 
 prev_length = len(sys.path)
 
 path = os.path.realpath(os.path.join(bin_dir, lib))
 
 real_prefix
 
 prefix
 

Detailed Description

Activate virtualenv for current interpreter:

Use exec(open(this_file).read(), {'__file__': this_file}).

This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.

Variable Documentation

◆ abs_file

abs_file = os.path.abspath(__file__)

Definition at line 15 of file activate_this.py.

◆ base

base = bin_dir[: -len("bin") - 1]

Definition at line 21 of file activate_this.py.

◆ bin_dir

bin_dir = os.path.dirname(abs_file)

Definition at line 20 of file activate_this.py.

◆ msg

str msg = "You must use exec(open(this_file).read(), {'__file__': this_file}))"

Definition at line 17 of file activate_this.py.

◆ path

path = os.path.realpath(os.path.join(bin_dir, lib))

Definition at line 31 of file activate_this.py.

◆ prefix

prefix

Definition at line 36 of file activate_this.py.

◆ prev_length

prev_length = len(sys.path)

Definition at line 29 of file activate_this.py.

◆ real_prefix

real_prefix

Definition at line 35 of file activate_this.py.