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

pkg_resources should be a separately-distributed package #863

Open
doko42 opened this issue Nov 28, 2016 · 7 comments
Open

pkg_resources should be a separately-distributed package #863

doko42 opened this issue Nov 28, 2016 · 7 comments
Labels
critical major Needs Implementation Issues that are ready to be implemented.

Comments

@doko42
Copy link
Contributor

doko42 commented Nov 28, 2016

The pkg_resources module provides some functionality which is need during the "runtime" of a package, while setuptools' functionality is only required during the build. For not having to depend on the full setuptools egg, it would be good to provide an pkg_resources egg which packages can depend on.

@jaraco
Copy link
Member

jaraco commented Nov 29, 2016

It's a good idea, but not immediately feasible due to bootstrapping issues.

@warsaw
Copy link
Contributor

warsaw commented Nov 29, 2016

You mean, there's a bit of a chicken-and-egg problem? <groan/>

@jaraco
Copy link
Member

jaraco commented Jan 1, 2017

Yes. The issue that #581 seeks to address.

@bignose-debian
Copy link

Now that issue #581 is closed what is needed to implement this request?

@haotianw465
Copy link

Any update on this issue? Our library depends on pkg_resources at runtime but we prefer not to add the whole setuptools as a dependency.

@jaraco jaraco changed the title please provide an own egg for pkg_resources pkg_resources should be a separately-distributed package Mar 17, 2018
@jaraco
Copy link
Member

jaraco commented Mar 17, 2018

pkg_resources should present its own package, but it's difficult to do. I don't even know it's feasible, but I'm working on it in pypa/pkg_resources and the feature/vendor-pkg-resources branch of setuptools.

@jaraco
Copy link
Member

jaraco commented Apr 4, 2019

Since PyCon 2018, I've been focusing on the importlib_metadata project. This work might still proceed, but it's less important if importlib_metadata can largely obviate the need for pkg_resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical major Needs Implementation Issues that are ready to be implemented.
Projects
None yet
Development

No branches or pull requests

6 participants