Closed
Description
This breaks when the entry point is actually case-sensitive.
git clone https://github.com/pydoit/doit-plugin-sample
- Delete setup.py, use the following setup.cfg:
[metadata]
name = doit-plugin-sample
description = a simple doit command plugin
[options]
py_modules =
doit_sample_cmd
install_requires =
doit
[options.entry_points]
doit.COMMAND =
plug_sample = doit_sample_cmd:SampleCmd
- Use this pyproject.toml:
[build-system]
requires = ["setuptools>=30.3.0", "wheel"]
pip install .
inside a venv.
Inspecting venv/*/site-packages/doit_plugin_sample-0.0.0.dist-info/entry_points.txt
:
[doit.command]
plug_sample = doit_sample_cmd:SampleCmd
This will not work, as the entry point is doit.COMMAND
.
Metadata
Metadata
Assignees
Labels
No labels