Skip to content

Commit

Permalink
Changed the build backend to hatchling. Ones who want to use `setup…
Browse files Browse the repository at this point in the history
…tools` can change `build-system` section of `pyproject.toml`, the specific config for it was kept.
  • Loading branch information
KOLANICH committed Oct 25, 2022
1 parent 7d9f2b8 commit 9bafbca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fi

python -c "import sys, struct, ssl; print('#' * 70); print('python:', sys.version); print('version_info:', sys.version_info); print('bits:', struct.calcsize('P') * 8); print('openssl:', ssl.OPENSSL_VERSION, ssl.OPENSSL_VERSION_INFO); print('#' * 70)"

python -m pip install -U pip setuptools setuptools_scm wheel build
python -m pip install -U pip hatchling build
python -m pip --version

python -m build -nsx .
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
requires = ["hatchling>=1.8.0"]
build-backend = "hatchling.build"

[project]
name = "trio"
Expand Down

0 comments on commit 9bafbca

Please sign in to comment.