Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bc3974c0
Commit
bc3974c0
authored
Jan 22, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When generating the source package, copy in the LICENSE file from the main
source directory.
parent
9c3b9b76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Doc/tools/mksourcepkg
Doc/tools/mksourcepkg
+6
-4
No files found.
Doc/tools/mksourcepkg
View file @
bc3974c0
...
...
@@ -16,8 +16,6 @@ with [tag]: generate from the named tag
#* should be modified to get the Python version number automatically
# from the Makefile or someplace.
__version__
=
"$Revision$"
import
getopt
import
glob
import
os
...
...
@@ -63,9 +61,9 @@ def main():
formats
[
"bzip2"
]
=
1
formats
[
"gzip"
]
=
1
formats
[
"zip"
]
=
1
formats
=
formats
.
keys
()
if
formats
:
# make order human-predictable
formats
=
formats
.
keys
()
formats
.
sort
()
else
:
formats
=
[
"gzip"
]
...
...
@@ -101,8 +99,12 @@ def main():
else
:
run
(
"cvs -Q -d%s checkout -d Doc python/dist/src/Doc"
%
cvsroot
)
# remove CVS directories
for
p
in
(
'*/CVS'
,
'*/*/CVS'
,
'*/*/*/CVS'
):
for
p
in
(
'*/CVS'
,
'*/*/CVS'
,
'*/*/*/CVS'
,
'.cvsignore'
,
'*/.cvsignore'
):
map
(
shutil
.
rmtree
,
glob
.
glob
(
p
))
LICENSE
=
os
.
path
.
normpath
(
os
.
path
.
join
(
mydir
,
os
.
pardir
,
os
.
pardir
,
"LICENSE"
))
shutil
.
copyfile
(
LICENSE
,
"Doc/LICENSE"
)
if
tools
:
archive
=
"doctools-"
+
release
# we don't want the actual documents in this case:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment