proud-dentist-22844
02/15/2023, 7:12 PMrepositories
param of python_distributions
. Per https://www.pantsbuild.org/docs/python-publish-goal (linked from the bottom of https://www.pantsbuild.org/docs/python-distributions) it could include aliases like @pypi
or private indexes.
What about @testpypi
vs @pypi
? It might be interesting to publish first to @testpypi
and then @pypi
- If I put python_distributions(repositories=["@pypi", "@testpypi"], …)
does that mean that it will publish to both repos? Or I can use TWINE_* vars to select which one to publish to?
background: this is for StackStorm, an open source project. So, I don’t need to worry about publishing to private indexes.curved-television-6568
02/15/2023, 7:14 PMcurved-television-6568
02/15/2023, 7:16 PMcurved-television-6568
02/15/2023, 7:17 PMenv()
on >=2.16.0.dev5)proud-dentist-22844
02/15/2023, 7:18 PMrepositories
it basically defaults to repositories=["@pypi"]
right?
Using env()
there is a fascinating idea! 2.16 is looking better and better.curved-television-6568
02/15/2023, 7:19 PMcurved-television-6568
02/15/2023, 7:20 PMnone
to not publish to public by mistakeproud-dentist-22844
02/15/2023, 7:21 PM