Skip to content

Commit

Permalink
debug build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Hamel committed Jul 15, 2024
1 parent b57394a commit 41c643a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
def build_sdist() -> str:
cmd = [sys.executable, "setup.py", "sdist"]
check_call(cmd, cwd=os.path.abspath("pbspro"))

assert os.path.exists("pbspro"), os.getcwd()
assert os.path.exists("pbspro/dist"), os.getcwd()

sdists = glob.glob("pbspro/dist/cyclecloud-pbspro-*.tar.gz")
assert len(sdists) == 1, "Found %d sdist packages, expected 1" % len(sdists)
assert len(sdists) == 1, "Found %d sdist packages, expected 1 - " % len(sdists)
path = sdists[0]
fname = os.path.basename(path)
dest = os.path.join("libs", fname)
Expand Down

0 comments on commit 41c643a

Please sign in to comment.