Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for two packages #37

Closed
jaraco opened this issue Nov 14, 2021 · 1 comment
Closed

Support for two packages #37

jaraco opened this issue Nov 14, 2021 · 1 comment

Comments

@jaraco
Copy link
Contributor

jaraco commented Nov 14, 2021

In pypa/setuptools#2825, I'm exploring adopting vendoring to replace the paver script for updating vendored packages. Unfortunately, right off the bat, it does not appear as if vendoring supports Setuptools' vendoring. In particular, Setuptools provides vendored packages for two separate packages (setuptools and pkg_resources). As I start to create a config for vendoring for setuptools, I come up with this:

[tool.vendoring]
destination = "setuptools/_vendor/"
requirements = "setuptools/_vendor/vendored.txt"
namespace = "setuptools._vendor"

But I don't see a way to provide another definition for pkg_resources.

Does vendoring only support one set of vendored packages in one location?

@pradyunsg
Copy link
Owner

Does vendoring only support one set of vendored packages in one location?

Pretty much. You can add a separate pyproject.toml file in a different location, to serve as input, if you want to have multiple sets of configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants