@@ -375,18 +375,27 @@ def setcopyright():
375375 "Jython is maintained by the Jython developers (www.jython.org)." )
376376 else :
377377 builtins .credits = _sitebuiltins ._Printer ("credits" , """\
378+ ActivePython is a Python distribution by ActiveState Software Inc.
378379 Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
379380 for supporting Python development. See www.python.org for more information.""" )
380381 files , dirs = [], []
381382 # Not all modules are required to have a __file__ attribute. See
382383 # PEP 420 for more details.
383384 if hasattr (os , '__file__' ):
384385 here = os .path .dirname (os .__file__ )
385- files .extend (["LICENSE.txt" , "LICENSE" ])
386- dirs .extend ([os .path .join (here , os .pardir ), here , os .curdir ])
386+ files .extend (["LICENSE.txt" , "LICENSE" , "License.txt" ])
387+ dirs .extend (
388+ [os .path .join (here , os .pardir , "Doc" ), # dev build and installation on Windows
389+ os .path .join (here , os .pardir , os .pardir , "doc" , # APy install on Linux
390+ "python%s.%s" % sys .version_info [:2 ]),
391+ # APy install on Mac OS X
392+ os .path .join (here , os .pardir , os .pardir , "Resources" ,
393+ "Python.app" , "Contents" , "Resources" , "English.lproj" ,
394+ "Help" ),
395+ here ]) # dev build on Linux
387396 builtins .license = _sitebuiltins ._Printer (
388397 "license" ,
389- "See https://www.python.org/psf /license/ " ,
398+ "See https://www.activestate.com/activepython /license-agreement " ,
390399 files , dirs )
391400
392401
0 commit comments