Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
pythondata-cpu-libresoc
Commits
e60553be
Commit
e60553be
authored
2 years ago
by
Raptor Engineering Development Team
Browse files
Options
Download
Email Patches
Plain Diff
Fix left-over Microwatt references
parent
9fbd7d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
setup.py
setup.py
+1
-1
test.py
test.py
+8
-8
No files found.
setup.py
View file @
e60553be
...
...
@@ -3,7 +3,7 @@ import setuptools
with
open
(
"README.md"
,
"r"
)
as
fh
:
long_description
=
fh
.
read
()
from
pythondata_cpu_
microwatt
import
version_str
from
pythondata_cpu_
libresoc
import
version_str
setuptools
.
setup
(
name
=
"pythondata-cpu-libresoc"
,
...
...
This diff is collapsed.
Click to expand it.
test.py
View file @
e60553be
#!/usr/bin/env python3
import
os
import
pythondata_cpu_
microwatt
import
pythondata_cpu_
libresoc
print
(
"Found
microwatt
@ version"
,
pythondata_cpu_
microwatt
.
version_str
,
"(with data"
,
pythondata_cpu_
microwatt
.
data_version_str
,
")"
)
print
(
"Found
libresoc
@ version"
,
pythondata_cpu_
libresoc
.
version_str
,
"(with data"
,
pythondata_cpu_
libresoc
.
data_version_str
,
")"
)
print
()
print
(
"Data is in"
,
pythondata_cpu_
microwatt
.
data_location
)
assert
os
.
path
.
exists
(
pythondata_cpu_
microwatt
.
data_location
)
print
(
"Data is version"
,
pythondata_cpu_
microwatt
.
data_version_str
,
pythondata_cpu_
microwatt
.
data_git_hash
)
print
(
"Data is in"
,
pythondata_cpu_
libresoc
.
data_location
)
assert
os
.
path
.
exists
(
pythondata_cpu_
libresoc
.
data_location
)
print
(
"Data is version"
,
pythondata_cpu_
libresoc
.
data_version_str
,
pythondata_cpu_
libresoc
.
data_git_hash
)
print
(
"-"
*
75
)
print
(
pythondata_cpu_
microwatt
.
data_git_msg
)
print
(
pythondata_cpu_
libresoc
.
data_git_msg
)
print
(
"-"
*
75
)
print
()
print
(
"It contains:"
)
for
root
,
dirs
,
files
in
os
.
walk
(
pythondata_cpu_
microwatt
.
data_location
):
for
root
,
dirs
,
files
in
os
.
walk
(
pythondata_cpu_
libresoc
.
data_location
):
dirs
.
sort
()
for
f
in
sorted
(
files
):
path
=
os
.
path
.
relpath
(
os
.
path
.
join
(
root
,
f
),
pythondata_cpu_
microwatt
.
data_location
)
path
=
os
.
path
.
relpath
(
os
.
path
.
join
(
root
,
f
),
pythondata_cpu_
libresoc
.
data_location
)
print
(
" -"
,
path
)
This diff is collapsed.
Click to expand it.
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