Skip to content

Commit fad1f2e

Browse files
authored
Fix license warning in installation (#1964)
1 parent 31b6115 commit fad1f2e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
171171
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
172172
CIBW_ARCHS: ${{ matrix.arch }}
173-
CIBW_SKIP: pp* *-musllinux_*
173+
CIBW_SKIP: "*-musllinux_*"
174174

175175
- name: Upload Python wheels
176176
uses: actions/upload-artifact@v4
@@ -195,10 +195,6 @@ jobs:
195195
artifact_pattern: python-wheels-Linux-aarch64
196196
wheel_pattern: "*cp310*manylinux*_aarch64.whl"
197197

198-
#- os: windows-2022
199-
# artifact_pattern: python-wheels-Windows-auto64
200-
# wheel_pattern: "*cp310*win*.whl"
201-
202198
- os: macos-15
203199
artifact_pattern: python-wheels-macOS-arm64
204200
wheel_pattern: "*cp310*macosx*arm64.whl"
@@ -226,8 +222,6 @@ jobs:
226222
- name: Install wheel
227223
shell: bash
228224
run: |
229-
ls -l
230-
find .
231225
pip install ${{ matrix.wheel_pattern }}
232226
233227
- name: Test Python wheel

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def _maybe_add_library_root(lib_name):
7070
setup(
7171
name="ctranslate2",
7272
version=_get_project_version(),
73+
license="MIT",
7374
description="Fast inference engine for Transformer models",
7475
long_description=_get_long_description(),
7576
long_description_content_type="text/markdown",
@@ -80,7 +81,6 @@ def _maybe_add_library_root(lib_name):
8081
"Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.4",
8182
"Intended Audience :: Developers",
8283
"Intended Audience :: Science/Research",
83-
"License :: OSI Approved :: MIT License",
8484
"Programming Language :: Python :: 3",
8585
"Programming Language :: Python :: 3 :: Only",
8686
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)