Jason R. Coombs
Jason R. Coombs
After recommending `--extra-index-url` and in consideration of your question, I did some more investigation and found that [the behavior of extra-index-url is non-deterministic](https://pydist.com/blog/extra-index-url), so I don't think that's a good...
Can you give an example of what you're after?
I think I understand. So you want setuptools to accept a mapping of `package name` to `console_script entrypoint name` and from that, it will generate a `__main__` in the package...
> The `:=` instead of `=` would signify that setuptools would generate the `entry_point()` stub, as above, that calls `runpy.run_module` with the string after the `:=`. Interesting idea. Unfortunately, I...
> I'm having a very similar issue: When running `pytproject-build`, the resulting sdist has the `tests` folder included even though it is explicitly excluded using the `exclude=tests,test*` config. Interestingly, the...
I encountered this issue recently when working with [distutils](/pypa/distutils). I was trying to figure out why [the distutils package was not being installed](https://github.com/pypa/distutils/issues/224#issuecomment-1879901232). It turns out it was because I'd...
I'm pretty sure the spec says that package names can contain only `.`, `-`, and `_` characters (in addition to alphanumeric). Probably Setuptools should fail early on violation of the...
> I'm pretty sure the spec says that package names can contain only `.`, `-`, and `_` characters (in addition to alphanumeric). Probably Setuptools should fail early on violation of...
There's something in setuptools now called 'validate pyproject'. It's possible that it's already doing the appropriate validation. I was going to test before I ran up against https://github.com/pypa/packaging/issues/678. Having worked...
I'm flagging this as won't fix, but I'd also accept a PR to validate the name using setup.py or setup.cfg.