Skip to content

Commit

Permalink
Merge pull request #326 from maxbachmann/master
Browse files Browse the repository at this point in the history
Add environment variable to specify build
  • Loading branch information
bennuttall committed Oct 4, 2022
2 parents e0c58f9 + 40aefff commit be73697
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions piwheels/slave/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@ def build_environment(self):
# disturbing minority of packages try to run git clone during their
# setup.py)
env['GIT_ALLOW_PROTOCOL'] = 'file'

# allow projects to detect they are built in piwheels
env['PIWHEELS_BUILD'] = "1"
return env

def build_command(self, log_file):
Expand Down

0 comments on commit be73697

Please sign in to comment.