-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to pyproject.toml and hatchling build backend (#25)
- Loading branch information
1 parent
e1d345e
commit 34f914f
Showing
7 changed files
with
34 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,6 @@ jobs: | |
run: >- | ||
python -m | ||
build | ||
--sdist | ||
--wheel | ||
--outdir dist/ | ||
. | ||
- uses: actions/upload-artifact@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[project] | ||
name = 'Flask-Multipass-CERN' | ||
version = '2.2.10' | ||
description = 'CERN-specific Flask-Multipass providers' | ||
readme = 'README.md' | ||
license = 'MIT' | ||
authors = [{ name = 'Indico Team', email = 'indico-team@cern.ch' }] | ||
requires-python = '~=3.9' | ||
dependencies = ['flask-multipass[authlib]>=0.4.3', 'urllib3>=1.26.0'] | ||
|
||
[project.optional-dependencies] | ||
dev = ['freezegun', 'httpretty', 'pytest', 'pytest-mock', 'ruff'] | ||
|
||
[project.urls] | ||
GitHub = 'https://github.com/indico/flask-multipass-cern' | ||
|
||
[project.entry-points.'flask_multipass.auth_providers'] | ||
cern = 'flask_multipass_cern:CERNAuthProvider' | ||
|
||
[project.entry-points.'flask_multipass.identity_providers'] | ||
cern = 'flask_multipass_cern:CERNIdentityProvider' | ||
|
||
[build-system] | ||
requires = ['hatchling==1.25.0'] | ||
build-backend = 'hatchling.build' | ||
|
||
[tool.hatch.build] | ||
exclude = ['.github', '.python-version'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
target-version = 'py39' | ||
target-version = 'py312' | ||
line-length = 120 | ||
|
||
[lint] | ||
|