Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:

- name: Build a binary wheel and a source tarball
run: |
sh -c 'for lang in de en_GB es fr it ja ko pt_BR ru zh_CN zh_TW; do msgfmt -o precli/locale/$lang/LC_MESSAGES/messages.mo precli/locale/$lang/LC_MESSAGES/messages.po; done'
python setup.py sdist bdist_wheel

- name: Publish distribution to PyPI
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:

- name: Build a binary wheel and a source tarball
run: |
sh -c 'for lang in de en_GB es fr it ja ko pt_BR ru zh_CN zh_TW; do msgfmt -o precli/locale/$lang/LC_MESSAGES/messages.mo precli/locale/$lang/LC_MESSAGES/messages.po; done'
python setup.py sdist bdist_wheel

- name: Publish distribution to Test PyPI
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upload-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:

- name: Build a binary wheel and a source tarball
run: |
sh -c 'for lang in de en_GB es fr it ja ko pt_BR ru zh_CN zh_TW; do msgfmt -o precli/locale/$lang/LC_MESSAGES/messages.mo precli/locale/$lang/LC_MESSAGES/messages.po; done'
python setup.py sdist bdist_wheel

- name: Release
Expand Down
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Copyright 2024 Secure Sauce LLC
# Copyright 2025 Secure Sauce LLC
# SPDX-License-Identifier: BUSL-1.1
import setuptools


setuptools.setup(
python_requires=">=3.9", setup_requires=["pbr>=2.0.0"], pbr=True
python_requires=">=3.9",
setup_requires=["pbr>=2.0.0"],
pbr=True,
package_data={
"precli": ["locale/*/LC_MESSAGES/*.mo"],
},
)