Skip to content

Commit e88a7d8

Browse files
committed
Provide CPython licence to copy during full-build (fixes #2330).
Rather than cloning from the (now legacy) CPython hg repository, we provide our own copy. Old text in our licence (history section) is updated to name files correctly.
1 parent 48e1139 commit e88a7d8

File tree

4 files changed

+760
-7
lines changed

4 files changed

+760
-7
lines changed

LICENSE.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,15 @@ From the 2.2 release on, Jython contributors have signed
188188
Python Software Foundation contributor agreements and releases are
189189
covered under the Python Software Foundation license version 2.
190190

191-
The standard library is covered by the Python Software Foundation
192-
license as well. See the Lib/LICENSE file for details.
191+
The Python standard library developed for CPython is also used in Jython, and
192+
(like Jython itself) is provided under the Python Software Foundation
193+
license. See the file LICENSE_CPython.txt for details.
193194

194195
The zxJDBC package was written by Brian Zimmer and originally licensed
195196
under the GNU Public License. The package is now covered by the Jython
196197
Software License.
197198

198-
The command line interpreter is covered by the Apache Software
199-
License. See the org/apache/LICENSE file for details.
199+
Elements of the supporting libraries (appearing renamed in some Jython JARs)
200+
are covered by the Apache Software License. See the file LICENSE_Apache.txt
201+
for details.
200202

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ https://github.com/jythontools/jython
55

66
Development tip
77
Bugs fixed
8+
- [ 2330 ] full-build fails to copy CPython License
89
- [ 2651 ] Travis builds failing with *** buffer overflow detected ***
910
- [ 2703 ] JycompileAntTask cannot find ...ant.taskdefs.MatchingTask
1011
- [ 2708 ] test_urllib2net fails (on Travis CI)

build.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,11 @@ The readme text for the next release will be like:
801801
</jar>
802802
</target>
803803

804-
<target name="copy-license" if="do.checkout">
805-
<echo>copy CPython LICENSE from ${checkout.dir}/python</echo>
806-
<copy file="${checkout.dir}/python/LICENSE" tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
804+
<target name="copy-license" if="full-build">
805+
<echo>copy CPython license from ${jython.base.dir}/lib-python</echo>
806+
<copy file="${jython.base.dir}/lib-python/LICENSE.txt"
807+
tofile="${dist.dir}/LICENSE_CPython.txt"
808+
preservelastmodified="true" />
807809
</target>
808810

809811
<target name="copy-misc-files" depends="init">

0 commit comments

Comments
 (0)