Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
4827ec0c
Commit
4827ec0c
authored
Jun 16, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pepr-master'
parents
0bb9b762
4b8b9430
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2016 additions
and
2041 deletions
+2016
-2041
translator.py
doc/translator.py
+2003
-2030
pack_the_distribution_for_windows.py
winbuild/pack_the_distribution_for_windows.py
+13
-11
No files found.
doc/translator.py
View file @
4827ec0c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
winbuild/pack_the_distribution_for_windows.py
View file @
4827ec0c
#!
python2
#!python2
from
__future__
import
print_function
from
__future__
import
print_function
...
@@ -92,16 +92,18 @@ def copyBinaries(dist_dir, subdir):
...
@@ -92,16 +92,18 @@ def copyBinaries(dist_dir, subdir):
# Source file should exist.
# Source file should exist.
sdir
,
fname
=
getThisScriptPathAndName
()
sdir
,
fname
=
getThisScriptPathAndName
()
src
=
os
.
path
.
normpath
(
os
.
path
.
join
(
sdir
,
'..'
,
'bin'
,
subdir
,
'doxygen.exe'
))
src
=
os
.
path
.
normpath
(
os
.
path
.
join
(
sdir
,
'..'
,
'bin'
,
subdir
,
'doxygen.exe'
))
assert
os
.
path
.
isfile
(
src
)
if
os
.
path
.
isfile
(
src
):
# Destination directory must not exist. It must be created first.
# Destination directory must not exist. It must be created first.
dst_dir
=
os
.
path
.
normpath
(
os
.
path
.
join
(
dist_dir
,
'bin'
,
subdir
))
dst_dir
=
os
.
path
.
normpath
(
os
.
path
.
join
(
dist_dir
,
'bin'
,
subdir
))
assert
not
os
.
path
.
isdir
(
dst_dir
)
assert
not
os
.
path
.
isdir
(
dst_dir
)
os
.
makedirs
(
dst_dir
)
os
.
makedirs
(
dst_dir
)
# Copy the file.
# Copy the file.
print
(
"Copying '{}'"
.
format
(
src
))
print
(
"Copying '{}'"
.
format
(
src
))
shutil
.
copy2
(
src
,
dst_dir
)
shutil
.
copy2
(
src
,
dst_dir
)
else
:
print
(
"The binary '"
+
src
+
"'"
)
print
(
'was not found. It will not be present in the distribution.'
)
def
getBinariesZipBareName
():
def
getBinariesZipBareName
():
...
...
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