Skip to content

Commit

Permalink
fix rc
Browse files Browse the repository at this point in the history
  • Loading branch information
drcandacemakedamoore committed Jun 21, 2024
1 parent 2172bf7 commit a7936dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,12 @@ def run(self):
self.patch_conda_build()

rc = conda_build.execute(cmd)
sys.stderr.write('Built package: {}'.format(rc[0]))
if isinstance(rc, int):
sys.stderr.write('Built package: {}'.format(rc))
else:
sys.stderr.write('Built package: {}'.format(rc[0]))




if __name__ == '__main__':
Expand Down

0 comments on commit a7936dd

Please sign in to comment.