Skip to content

Commit 14ac77e

Browse files
committed
Add ActiveState Branding
This is required to move forward with the alt-build system.
1 parent 2cd349a commit 14ac77e

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

Lib/site.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Makefile.pre.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,6 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c
14061406
done
14071407
$(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py \
14081408
$(DESTDIR)$(LIBDEST); \
1409-
$(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
14101409
if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
14111410
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
14121411
$(DESTDIR)$(LIBDEST)/distutils/tests ; \

Python/getcopyright.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
static const char cprt[] =
66
"\
7+
Copyright (c) 2000-2023 ActiveState Software Inc.\n\
78
Copyright (c) 2001-2023 Python Software Foundation.\n\
89
All Rights Reserved.\n\
910
\n\

0 commit comments

Comments
 (0)