Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Commit

Permalink
Merge pull request #25 from dillon-giacoppo/jonathon/FIX-purelib-supp…
Browse files Browse the repository at this point in the history
…ort-mar2020
  • Loading branch information
dillon-giacoppo authored Mar 16, 2020
2 parents 95e72ce + 7b882a0 commit 14e0d35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/extract_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import subprocess
import sys

from src import wheel, namespace_pkgs
from src import wheel, namespace_pkgs, purelib

BUILD_TEMPLATE = """\
package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -71,6 +71,8 @@ def extract_wheel(whl, directory, extras):

whl.unzip(directory)

# Note: Order of operations matters here
purelib.spread_purelib_into_root(directory)
_setup_namespace_pkg_compatibility(directory)

with open(os.path.join(directory, "BUILD"), "w") as f:
Expand Down

0 comments on commit 14e0d35

Please sign in to comment.