Skip to content

Commit 005735d

Browse files
committed
fix: Do not install language-data by default
1 parent cf6811e commit 005735d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install
19-
run: pip install .[test]
19+
run: pip install .[test,data]
2020
- name: Run tests
2121
run: pytest --junitxml=junit/test-results-${{ matrix.python-version }}.xml --cov=language_data --cov-report=xml:junit/coverage-${{ matrix.python-version }}.xml
2222
- name: Upload

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ classifiers = [
1717
dynamic = ["version"]
1818

1919
requires-python = ">= 3.9"
20-
dependencies = [
21-
"language-data>=1.2"
22-
]
2320

2421
[project.urls]
2522
Homepage = "https://github.com/georgkrause/langcodes"
@@ -35,6 +32,9 @@ build = [
3532
'build',
3633
'twine'
3734
]
35+
data = [
36+
"language-data>=1.2"
37+
]
3838

3939
[build-system]
4040
requires = ["setuptools>=60", "setuptools-scm>=8.0"]

0 commit comments

Comments
 (0)