You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing Pants as we are moving all our code to a monorepo.
So far seems a very useful tool!
I have a couple of questions though. We currently have our tools in multiple repositories, and we build them using setuptools. As we would like to slowly implement the monorepo and slowly move our build system to Poetry, as a first step, I would like to be able to make Pants create a working distribution using our current setup.py file.
The problem I'm having is that I can't find any way to tell Pants that should also execute the custom setuptools command "build_plugin" defined in our setup.py file when creating the distribution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all,
I'm testing Pants as we are moving all our code to a monorepo.
So far seems a very useful tool!
I have a couple of questions though. We currently have our tools in multiple repositories, and we build them using setuptools. As we would like to slowly implement the monorepo and slowly move our build system to Poetry, as a first step, I would like to be able to make Pants create a working distribution using our current setup.py file.
The problem I'm having is that I can't find any way to tell Pants that should also execute the custom setuptools command "build_plugin" defined in our setup.py file when creating the distribution.
Is there anyway to do that?
Thank you!
This is how my very simple BUILD file looks like:
And the setup.py is something like:
Beta Was this translation helpful? Give feedback.
All reactions