import os
import pager
class License:
def __call__(self):
pager.pager()(self.__str__())
def __repr__(self):
return "Type license() to see the full license text."
def __str__(self):
return open(os.environ['SAGE_ROOT'] + '/COPYING.txt').read()
license = License()