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

Build includes docs package #4213

Closed
jaraco opened this issue Feb 10, 2024 · 0 comments
Closed

Build includes docs package #4213

jaraco opened this issue Feb 10, 2024 · 0 comments

Comments

@jaraco
Copy link
Member

jaraco commented Feb 10, 2024

In the upstream skeleton @ jaraco/skeleton@63535c6, I began adopting the simpler default discovery for setuptools. For some projects like setuptools, however, the default discovery doesn't work because there are more than one top-level package. When I restored an explicit finder directive, I neglected to restore the finder exclusions, and now docs is getting included in the build:

 setuptools main @ pyproject-build .
* Creating venv isolated environment...
* Getting build dependencies for sdist...
running egg_info
...
creating '/Users/jaraco/code/pypa/setuptools/dist/.tmp-q39z981n/setuptools-69.0.3.post20240210-py3-none-any.whl' and adding 'build/bdist.macosx-14-arm64/wheel' to it
adding 'distutils-precedence.pth'
adding '_distutils_hack/__init__.py'
adding '_distutils_hack/override.py'
adding 'docs/conf.py'
adding 'pkg_resources/__init__.py'
...
adding 'setuptools-69.0.3.post20240210.dist-info/RECORD'
removing build/bdist.macosx-14-arm64/wheel
Successfully built setuptools-69.0.3.post20240210.tar.gz and setuptools-69.0.3.post20240210-py3-none-any.whl
@jaraco jaraco closed this as completed in 9cbe157 Feb 10, 2024
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

1 participant