You can possibly have a single setup.py which call the appropriate setup.py based on the a flag (task name). I think stack overflow question explains it https://stackoverflow.com/questions/677577/distutils-how-to-pass-a-user-defined-parameter-to-setup-py
On Mon, Jan 27, 2020 at 10:02 AM André Rocha Silva < [email protected]> wrote: > Hello everybody > > I am trying to add several setup.py in the same repository in order to > Dataflow only downloads the needed dependencies for each task. > > How is it possible? I've tried: > > - Put another name 'foosetup.py' > - simply put in different folders and add the path to the '--setup_file > path/to/setup.py' > - Add the root path in the setup.findpackages('home/root/') > - Create different packages from different setups (in different folders) > for the '--extra_package' > > How do you deal with this? > > Best regards > André Rocha Silva >
