-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of setuptools and use hatchling instead (#492)
* Get rid of setuptools and use hatchling instead * Update minimum Python version check in Makefile * Update GitHub actions * Stop using deprecated set-output in GHA * Fix docker builds + use uv
- Loading branch information
1 parent
96fe040
commit f0c6093
Showing
11 changed files
with
78 additions
and
68 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
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 was deleted.
Oops, something went wrong.
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,47 @@ | ||
[project] | ||
name = 'newdle' | ||
version = '1.0-dev' | ||
dynamic = ['dependencies', 'optional-dependencies'] | ||
description = 'Open Source Collaborative enterprise meeting scheduling tool.' | ||
readme = 'README.md' | ||
license = 'MIT' | ||
authors = [{ name = 'Indico Team', email = 'indico-team@cern.ch' }] | ||
classifiers = [ | ||
'Environment :: Web Environment', | ||
'Framework :: Flask', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 3.12', | ||
] | ||
requires-python = '~=3.12' | ||
|
||
[project.urls] | ||
Releases = 'https://github.com/indico/newdle/releases' | ||
Issues = 'https://github.com/indico/newdle/issues' | ||
GitHub = 'https://github.com/indico/newdle' | ||
|
||
[build-system] | ||
requires = ['hatchling==1.25.0', 'hatch-requirements-txt==0.4.1'] | ||
build-backend = 'hatchling.build' | ||
|
||
[tool.hatch.metadata.hooks.requirements_txt] | ||
files = ['requirements.txt'] | ||
|
||
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies] | ||
dev = ['requirements.dev.txt'] | ||
cern = ['requirements.cern.txt'] | ||
exchange = ['requirements.exchange.txt'] | ||
|
||
[tool.hatch.build] | ||
packages = ['newdle'] | ||
exclude = [ | ||
'.keep', | ||
# exclude original client sources (they are all included in source maps anyway) | ||
'newdle/client/', | ||
# no need for tests outside development | ||
'tests/', | ||
] | ||
artifacts = ['newdle/client/build/'] | ||
|
||
[tool.uv] | ||
# uv does not know about dynamic metadata so `pip install -e .` should always reinstall | ||
reinstall-package = ['newdle'] |
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,5 @@ | ||
-c requirements.txt | ||
build | ||
flask-shell-ipython | ||
ipython | ||
pytest | ||
|
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