https://pantsbuild.org/ logo
#general
Title
# general
p

plain-sundown-25537

05/04/2021, 7:13 PM
Do we have a barebone python project template? I know we have an example repo. But my goal is to tell our DS/MLE - copy this folder
foobar
to
myproject
and start with it
โž• 1
h

happy-kitchen-89482

05/04/2021, 7:56 PM
There isn't, but the docs do show you how to get started, and
./pants tailor
now does a lot of the work for you in generating BUILD files etc.
What would such a barebones project include? a config file, presumably, but what else would make sense?
p

plain-sundown-25537

05/04/2021, 8:02 PM
it is not hard to do on my side - things like a calculator example with some tests ๐Ÿ˜„
I can do that myself.
h

hundreds-father-404

05/04/2021, 8:02 PM
That's what the example-python repo is intended for. Are there things that might make that repo more conducive to being a template perhaps?
p

plain-sundown-25537

05/04/2021, 9:30 PM
The HelloWorld mixes too much details imho (like DS wonโ€™t need proto). Not a big deal at all I can streamline a bit for my case
p

polite-garden-50641

05/06/2021, 2:02 AM
I have created this one: https://bitbucket.org/festivus-miracle/minimal-pants/src/main/ very bare bone, on purpose. might be useful for people.
๐Ÿ‘ 1
2 Views