-
Notifications
You must be signed in to change notification settings - Fork 23
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
- Loading branch information
1 parent
0bdcf65
commit e4a56cf
Showing
9 changed files
with
74 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ htmlcov/ | |
.coverage | ||
|
||
example/example.cfg | ||
.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
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,51 @@ | ||
[project] | ||
name = 'Flask-Multipass' | ||
version = '0.5.5' | ||
description = 'A pluggable solution for multi-backend authentication with Flask' | ||
readme = 'README.rst' | ||
license = 'BSD-3-Clause' | ||
authors = [{ name = 'Indico Team', email = 'indico-team@cern.ch' }] | ||
classifiers = [ | ||
'Environment :: Web Environment', | ||
'Framework :: Flask', | ||
'License :: OSI Approved :: BSD License', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
] | ||
requires-python = '~=3.8' | ||
dependencies = ['flask', 'blinker'] | ||
|
||
[project.optional-dependencies] | ||
dev = ['pytest', 'pytest-cov', 'pytest-mock'] | ||
authlib = ['authlib>=0.14.1', 'requests'] | ||
ldap = ['flask-wtf', 'python-ldap>=3.3.1,<4.0'] | ||
saml = ['python3-saml>=1.10.1,<1.11'] | ||
sqlalchemy = ['sqlalchemy', 'flask-wtf'] | ||
|
||
[project.urls] | ||
GitHub = 'https://github.com/indico/flask-multipass' | ||
|
||
[project.entry-points.'flask_multipass.auth_providers'] | ||
ldap = 'flask_multipass.providers.ldap:LDAPAuthProvider' | ||
authlib = 'flask_multipass.providers.authlib:AuthlibAuthProvider' | ||
saml = 'flask_multipass.providers.saml:SAMLAuthProvider' | ||
shibboleth = 'flask_multipass.providers.shibboleth:ShibbolethAuthProvider' | ||
static = 'flask_multipass.providers.static:StaticAuthProvider' | ||
|
||
[project.entry-points.'flask_multipass.identity_providers'] | ||
ldap = 'flask_multipass.providers.ldap:LDAPIdentityProvider' | ||
ldap_or_authinfo = 'flask_multipass.providers.ldap:AuthFallbackLDAPIdentityProvider' | ||
authlib = 'flask_multipass.providers.authlib:AuthlibIdentityProvider' | ||
saml = 'flask_multipass.providers.saml:SAMLIdentityProvider' | ||
shibboleth = 'flask_multipass.providers.shibboleth:ShibbolethIdentityProvider' | ||
static = 'flask_multipass.providers.static:StaticIdentityProvider' | ||
|
||
[build-system] | ||
requires = ['hatchling==1.25.0'] | ||
build-backend = 'hatchling.build' | ||
|
||
[tool.hatch.build] | ||
exclude = ['docs/_build', '.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