Skip to content

Commit

Permalink
sonnet: support split vendoring
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Feb 10, 2022
1 parent 11dfcce commit 8c5f73f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ linux_release:
docker pull quay.io/pypa/manylinux2010_x86_64:2021-02-06-3d322a5
docker pull quay.io/pypa/manylinux2010_x86_64:2022-02-05-4cb577c
docker run --rm -i -v `pwd`:/io \
-e VENDOR_ONLY=1 \
-e PYTHON=/opt/python/cp38-cp38/bin/python \
-e PYTHON27=/opt/python/cp27-cp27m/bin/python \
-e PYTHON35=/opt/python/cp35-cp35m/bin/python \
Expand Down
4 changes: 4 additions & 0 deletions sonnet
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ class MakeReleaseCommand(Command):

self.line("")

if "VENDOR_ONLY" in os.environ:
self.line("<info>Skipping packaging</info>")
return

self.line("<info>Packaging files</info>")
with temporary_directory() as tmp_dir2:
base_name = "poetry-{}-{}".format(__version__, sys.platform)
Expand Down

0 comments on commit 8c5f73f

Please sign in to comment.