-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Apparently, custom entrypoints are not working anymore with pip install -e, only console_scripts was maintained. Also, pip install -e seems to actually pull releases of dependencies which I already had installed with pip install -e which is ridiculous.
Anyway, they seem to have decided to break BC with setup.py and are generally causing havoc in our setupmeta packages, requiring pyproject.toml, don't remember the details.
Have you followed what's happening there?
Is this the new way for using setupmeta?
[build-system]
requires = ["setuptools>=64", "setupmeta"]
build-backend = "setuptools.build_meta"
[project]
name = "artinator"
dynamic = ["version"]
authors = [{name = "James Pic", email = "jamespic@gmail.com"}]
description = "CLI tool"
readme = "README.md"
license = {text = "MIT"}
keywords = ["cli"]
requires-python = ">=3.6"
dependencies = [
"cli2>=v6.0.0-rc13",
"litellm",
]
urls = {Homepage = "https://github.com/yourlabs/artinator"}
[project.entry-points.artinator]
fileread = "artinator.tool:FileRead"
[project.scripts]
artinator = "artinator.cli:cli.entry_point"
[tool.setuptools.packages.find]
where = ["."]
include = ["artinator*"]
[tool.setupmeta]
root = "."
tag = "v{version}"
versioning = "dev"
If setup.py goes away, are we going to call python -m setupmeta instead to output generated information?
Metadata
Metadata
Assignees
Labels
No labels