Skip to content

Commit cfb143d

Browse files
Deprecate the high level interface
1 parent 9b744ec commit cfb143d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pep517/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def build(source_dir, dist, dest=None, system=None):
110110

111111

112112
def main(args):
113+
log.warning('pep517.build is deprecated. Consider switching to https://pypi.org/project/build/')
114+
113115
# determine which dists to build
114116
dists = list(filter(None, (
115117
'sdist' if args.source or not args.binary else None,

pep517/check.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ def check(source_dir):
167167

168168

169169
def main(argv=None):
170+
log.warning('pep517.check is deprecated. Consider switching to https://pypi.org/project/build/')
171+
170172
ap = argparse.ArgumentParser()
171173
ap.add_argument(
172174
'source_dir',

0 commit comments

Comments
 (0)