0

I'm currently trying to add an extra step to an existing buildsystem that uses setuptools. When calling setup(), the final two steps are copying all files in the repository to a temporary folder and creating a .tar of this temporary folder.

I have read in the docs that I can prevent the folder from being deleted by passing the -k argument, but what I need is a way to execute a few commands in that temporary folder before it gets packaged. I need to do some custom post-processing.

Might there be some dry-run option that I'm missing? So that the files are collected, but the tar isn't generated? That would allow me to still do the post-processing before letting setuptools carry on from where it left off.

But so far I haven't found anything that solves my problem. Any ideas?

Opifex
  • 349
  • 3
  • 14

0 Answers0