@@ -385,18 +385,27 @@ def setcopyright():
385385 "Jython is maintained by the Jython developers (www.jython.org)." )
386386 else :
387387 builtins .credits = _sitebuiltins ._Printer ("credits" , """\
388+ ActivePython is a Python distribution by ActiveState Software Inc.
388389 Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
389390 for supporting Python development. See www.python.org for more information.""" )
390391 files , dirs = [], []
391392 # Not all modules are required to have a __file__ attribute. See
392393 # PEP 420 for more details.
393394 if hasattr (os , '__file__' ):
394395 here = os .path .dirname (os .__file__ )
395- files .extend (["LICENSE.txt" , "LICENSE" ])
396- dirs .extend ([os .path .join (here , os .pardir ), here , os .curdir ])
396+ files .extend (["LICENSE.txt" , "LICENSE" , "License.txt" ])
397+ dirs .extend (
398+ [os .path .join (here , os .pardir , "Doc" ), # dev build and installation on Windows
399+ os .path .join (here , os .pardir , os .pardir , "doc" , # APy install on Linux
400+ "python%s.%s" % sys .version_info [:2 ]),
401+ # APy install on Mac OS X
402+ os .path .join (here , os .pardir , os .pardir , "Resources" ,
403+ "Python.app" , "Contents" , "Resources" , "English.lproj" ,
404+ "Help" ),
405+ here ]) # dev build on Linux
397406 builtins .license = _sitebuiltins ._Printer (
398407 "license" ,
399- "See https://www.python.org/psf /license/ " ,
408+ "See https://www.activestate.com/activepython /license-agreement " ,
400409 files , dirs )
401410
402411
0 commit comments