Skip to content

Commit 62382d3

Browse files
committed
use build for sdist and bdist building
1 parent 0b26d97 commit 62382d3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

requirements/tools.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ types-pytz
2828
types-redis
2929
typing-extensions
3030
watchdog # for typing
31+
build
3132
-r test.in

requirements/tools.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ black==25.1.0
3131
blinker==1.9.0
3232
# via pelican
3333
build==1.2.2.post1
34-
# via pip-tools
34+
# via
35+
# -r requirements/tools.in
36+
# pip-tools
3537
cachetools==5.5.2
3638
# via tox
3739
certifi==2025.1.31

tooling/src/hypothesistooling/projects/hypothesispython.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,7 @@ def changelog():
200200
def build_distribution():
201201
if os.path.exists(DIST):
202202
shutil.rmtree(DIST)
203-
subprocess.check_output(
204-
[sys.executable, "setup.py", "sdist", "bdist_wheel", "--dist-dir", DIST]
205-
)
203+
subprocess.check_output([sys.executable, "-m", "build", "--outdir", DIST])
206204

207205

208206
def upload_distribution():

0 commit comments

Comments
 (0)