We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
setuptools==67.2.0
3.10.6
Debian GNU/Linux 11 (bullseye)
Package Version --------------- ------- build 0.10.0 packaging 23.0 pip 23.0 pyproject_hooks 1.0.0 setuptools 67.2.0 tomli 2.0.1 wheel 0.38.4
When build sdist, some of test codes are included.
pyproject.toml
[tool.setuptools.packages.find]
python setup.py sdist
Exclude tests directory from sdist. (original behavior)
1. Clone this project: yukihiko-shinoda/pyvelocity: Automates task to check configurations about Python project to follow best practices to increase development velocity.
2. Install dependencies:
pip install setuptools==67.2.0 build==0.10.0 pyproject_hooks==1.0.0 tomli=2.0.1
3. Build:
python -m build
4. Check sdist:
tar tf dist/*.tar.gz
pyvelocity-0.1.2/ pyvelocity-0.1.2/LICENSE pyvelocity-0.1.2/PKG-INFO pyvelocity-0.1.2/README.md pyvelocity-0.1.2/pyproject.toml pyvelocity-0.1.2/pyvelocity/ pyvelocity-0.1.2/pyvelocity/__init__.py pyvelocity-0.1.2/pyvelocity/checks/ pyvelocity-0.1.2/pyvelocity/checks/__init__.py pyvelocity-0.1.2/pyvelocity/checks/aggregation.py pyvelocity-0.1.2/pyvelocity/checks/line_length.py pyvelocity-0.1.2/pyvelocity/checks/using_py_project_toml.py pyvelocity-0.1.2/pyvelocity/cli.py pyvelocity-0.1.2/pyvelocity/configurations/ pyvelocity-0.1.2/pyvelocity/configurations/__init__.py pyvelocity-0.1.2/pyvelocity/configurations/aggregation.py pyvelocity-0.1.2/pyvelocity/configurations/files/ pyvelocity-0.1.2/pyvelocity/configurations/files/__init__.py pyvelocity-0.1.2/pyvelocity/configurations/files/aggregation.py pyvelocity-0.1.2/pyvelocity/configurations/files/py_project_toml.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/ pyvelocity-0.1.2/pyvelocity/configurations/files/sections/__init__.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/black.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/docformatter.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/factory.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/flake8.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/isort.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/pylint/ pyvelocity-0.1.2/pyvelocity/configurations/files/sections/pylint/__init__.py pyvelocity-0.1.2/pyvelocity/configurations/files/sections/pyvelocity.py pyvelocity-0.1.2/pyvelocity/configurations/files/setup_cfg.py pyvelocity-0.1.2/pyvelocity/configurations/tools/ pyvelocity-0.1.2/pyvelocity/configurations/tools/__init__.py pyvelocity-0.1.2/pyvelocity/configurations/tools/black.py pyvelocity-0.1.2/pyvelocity/configurations/tools/docformatter.py pyvelocity-0.1.2/pyvelocity/configurations/tools/flake8.py pyvelocity-0.1.2/pyvelocity/configurations/tools/isort.py pyvelocity-0.1.2/pyvelocity/configurations/tools/pylint.py pyvelocity-0.1.2/pyvelocity/configurations/tools/pyvelocity.py pyvelocity-0.1.2/pyvelocity/py.typed pyvelocity-0.1.2/pyvelocity/pyvelocity.py pyvelocity-0.1.2/pyvelocity.egg-info/ pyvelocity-0.1.2/pyvelocity.egg-info/PKG-INFO pyvelocity-0.1.2/pyvelocity.egg-info/SOURCES.txt pyvelocity-0.1.2/pyvelocity.egg-info/dependency_links.txt pyvelocity-0.1.2/pyvelocity.egg-info/entry_points.txt pyvelocity-0.1.2/pyvelocity.egg-info/not-zip-safe pyvelocity-0.1.2/pyvelocity.egg-info/requires.txt pyvelocity-0.1.2/pyvelocity.egg-info/top_level.txt pyvelocity-0.1.2/setup.cfg pyvelocity-0.1.2/setup.py pyvelocity-0.1.2/tests/ pyvelocity-0.1.2/tests/test_cli.py
This seams to depends exported SOURCES.txt:
SOURCES.txt
LICENSE README.md pyproject.toml setup.cfg setup.py pyvelocity/__init__.py pyvelocity/cli.py pyvelocity/py.typed pyvelocity/pyvelocity.py pyvelocity.egg-info/PKG-INFO pyvelocity.egg-info/SOURCES.txt pyvelocity.egg-info/dependency_links.txt pyvelocity.egg-info/entry_points.txt pyvelocity.egg-info/not-zip-safe pyvelocity.egg-info/requires.txt pyvelocity.egg-info/top_level.txt pyvelocity/checks/__init__.py pyvelocity/checks/aggregation.py pyvelocity/checks/line_length.py pyvelocity/checks/using_py_project_toml.py pyvelocity/configurations/__init__.py pyvelocity/configurations/aggregation.py pyvelocity/configurations/files/__init__.py pyvelocity/configurations/files/aggregation.py pyvelocity/configurations/files/py_project_toml.py pyvelocity/configurations/files/setup_cfg.py pyvelocity/configurations/files/sections/__init__.py pyvelocity/configurations/files/sections/black.py pyvelocity/configurations/files/sections/docformatter.py pyvelocity/configurations/files/sections/factory.py pyvelocity/configurations/files/sections/flake8.py pyvelocity/configurations/files/sections/isort.py pyvelocity/configurations/files/sections/pyvelocity.py pyvelocity/configurations/files/sections/pylint/__init__.py pyvelocity/configurations/tools/__init__.py pyvelocity/configurations/tools/black.py pyvelocity/configurations/tools/docformatter.py pyvelocity/configurations/tools/flake8.py pyvelocity/configurations/tools/isort.py pyvelocity/configurations/tools/pylint.py pyvelocity/configurations/tools/pyvelocity.py tests/test_cli.py
However, the cache of SOURCES.txt when built in 2022-09-29 is:
LICENSE README.md pyproject.toml setup.cfg setup.py pyvelocity/__init__.py pyvelocity/cli.py pyvelocity/py.typed pyvelocity/pyvelocity.py pyvelocity.egg-info/PKG-INFO pyvelocity.egg-info/SOURCES.txt pyvelocity.egg-info/dependency_links.txt pyvelocity.egg-info/entry_points.txt pyvelocity.egg-info/not-zip-safe pyvelocity.egg-info/requires.txt pyvelocity.egg-info/top_level.txt pyvelocity/checks/__init__.py pyvelocity/checks/aggregation.py pyvelocity/checks/line_length.py pyvelocity/checks/using_py_project_toml.py pyvelocity/configurations/__init__.py pyvelocity/configurations/aggregation.py pyvelocity/configurations/files/__init__.py pyvelocity/configurations/files/aggregation.py pyvelocity/configurations/files/py_project_toml.py pyvelocity/configurations/files/setup_cfg.py pyvelocity/configurations/files/sections/__init__.py pyvelocity/configurations/files/sections/black.py pyvelocity/configurations/files/sections/docformatter.py pyvelocity/configurations/files/sections/factory.py pyvelocity/configurations/files/sections/flake8.py pyvelocity/configurations/files/sections/isort.py pyvelocity/configurations/files/sections/pyvelocity.py pyvelocity/configurations/files/sections/pylint/__init__.py pyvelocity/configurations/tools/__init__.py pyvelocity/configurations/tools/black.py pyvelocity/configurations/tools/docformatter.py pyvelocity/configurations/tools/flake8.py pyvelocity/configurations/tools/isort.py pyvelocity/configurations/tools/pylint.py pyvelocity/configurations/tools/pyvelocity.py
The text was updated successfully, but these errors were encountered:
This is not range of setuptools but distutils. see: pypa/distutils#187
The current specification seams to be that:
Sorry, something went wrong.
No branches or pull requests
setuptools version
setuptools==67.2.0
Python version
3.10.6
OS
Debian GNU/Linux 11 (bullseye)
Additional environment information
Description
When build sdist, some of test codes are included.
pyproject.toml
since last time I built.pyproject.toml
, I couldn't exclude test package.[tool.setuptools.packages.find]
blockpython setup.py sdist
doesn't includes test code.Expected behavior
Exclude tests directory from sdist. (original behavior)
How to Reproduce
1.
Clone this project:
yukihiko-shinoda/pyvelocity: Automates task to check configurations about Python project to follow best practices to increase development velocity.
2.
Install dependencies:
pip install setuptools==67.2.0 build==0.10.0 pyproject_hooks==1.0.0 tomli=2.0.1
3.
Build:
python -m build
4.
Check sdist:
tar tf dist/*.tar.gz
Output
Click me
This seams to depends exported
SOURCES.txt
:Click me
However, the cache of
SOURCES.txt
when built in 2022-09-29 is:Click me
The text was updated successfully, but these errors were encountered: