Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tikka
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
Tikka
Commits
5e322d13
Commit
5e322d13
authored
1 month ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] fix septup tools licence-files warning
add extra files check on wheel after build in Makefile
parent
280f1511
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#40534
waiting for manual action
Stage: checks
Stage: release
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+10
-0
10 additions, 0 deletions
Makefile
pyproject.toml
+5
-4
5 additions, 4 deletions
pyproject.toml
with
15 additions
and
4 deletions
Makefile
+
10
−
0
View file @
5e322d13
...
...
@@ -59,6 +59,16 @@ build:
msgfmt tikka/locales/fr_FR/LC_MESSAGES/application.po
--output-file
=
tikka/locales/fr_FR/LC_MESSAGES/application.mo
msgfmt tikka/locales/en_US/LC_MESSAGES/application.po
--output-file
=
tikka/locales/en_US/LC_MESSAGES/application.mo
uv build
@
WHEEL_PATH
=
$$(
ls
-t
dist/
*
.whl |
head
-n1
);
\
echo
"Checking wheel:
$$
WHEEL_PATH"
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/locales/en_US/licence_g1.md"
||
(
echo
"❌ Missing licence_g1.md EN"
&&
exit
1
)
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/locales/fr_FR/licence_g1.md"
||
(
echo
"❌ Missing licence_g1.md FR"
&&
exit
1
)
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/locales/en_US/LC_MESSAGES/application.mo"
||
(
echo
"❌ Missing application.mo EN"
&&
exit
1
)
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/locales/fr_FR/LC_MESSAGES/application.mo"
||
(
echo
"❌ Missing application.mo FR"
&&
exit
1
)
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/adapters/repository/assets/config.json"
||
(
echo
"❌ Missing config.json"
&&
exit
1
)
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/adapters/repository/assets/currencies.yaml"
||
(
echo
"❌ Missing currencies.yaml"
&&
exit
1
)
;
\
unzip
-l
$$
WHEEL_PATH |
awk
'{print $$NF}'
|
grep
-q
"tikka/adapters/repository/database/assets/migrations/00001.init_tables.sql"
||
(
echo
"❌ Missing migration sql"
&&
exit
1
)
;
\
echo
"Wheel OK:
$$
WHEEL_PATH"
pyinstaller
:
./bin/pyinstaller.sh
This diff is collapsed.
Click to expand it.
pyproject.toml
+
5
−
4
View file @
5e322d13
...
...
@@ -4,6 +4,7 @@ version = "0.14.3"
description
=
"Tikka is a fast and light Python/Tk client to manage your Ğ1 accounts"
authors
=
[{name
=
"Vincent Texier"
,
email
=
"vit@free.fr"
}]
requires-python
=
">
=
3.9
"
license-files
=
[
"LICENSE"
]
dependencies
=
[
"mnemonic>
=
0.19
",
...
...
@@ -25,16 +26,16 @@ dependencies = [
"pyaes>
=
1.6
.
1
",
]
[tool.setuptools]
# fix bug license files version https://github.com/astral-sh/uv/issues/9513
license-files
=
[]
#
[tool.setuptools]
#
# fix bug license files version https://github.com/astral-sh/uv/issues/9513
#
license-files = []
[tool.setuptools.packages.find]
where
=
[
"./."
]
include
=
[
"tikka"
,
"tikka.*"
]
[tool.setuptools.package-data]
tikka
=
[
"locales/*/*.md"
,
"locales/*/LC_MESSAGES/*.mo"
,
"adapters/repository/assets/
*
.json"
,
"adapters/repository/assets/
*
.yaml"
,
"adapters/repository/database/assets/migrations/*.sql"
]
tikka
=
[
"locales/*/*.md"
,
"locales/*/LC_MESSAGES/*.mo"
,
"adapters/repository/assets/
config
.json"
,
"adapters/repository/assets/
currencies
.yaml"
,
"adapters/repository/database/assets/migrations/*.sql"
]
[project.scripts]
tikka
=
"tikka.__main__:main"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment