Skip to content

chore(WI-000787): Remove Legacy setup.py in wiki#12

Open
Talleyrand333 wants to merge 2 commits into
stagingfrom
WI-000787
Open

chore(WI-000787): Remove Legacy setup.py in wiki#12
Talleyrand333 wants to merge 2 commits into
stagingfrom
WI-000787

Conversation

@Talleyrand333

Copy link
Copy Markdown
Contributor

Developer tooling alignment for Frappe v15.

Task: WI-000787

Remove setup.py as pyproject.toml is the modern Python packaging standard.
All build configuration is now in pyproject.toml using flit_core.

Task: WI-000787
Copilot AI review requested due to automatic review settings May 14, 2026 14:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the legacy setup.py as part of developer tooling alignment for Frappe v15, which standardizes Python app packaging on pyproject.toml.

Changes:

  • Deletes setup.py (previously the sole source of package name, version, description, author, and install_requires loaded from requirements.txt).
Comments suppressed due to low confidence (1)

setup.py:1

  • Deleting setup.py without adding corresponding build metadata to pyproject.toml will break installation of this Frappe app. The current pyproject.toml only contains [tool.black] and [tool.isort] configuration — it does not declare a [build-system] section nor a [project] table (with name, version, dependencies, etc.). As a result, pip install . (which is what bench get-app runs for Frappe v15 apps) has no way to discover the package name, version, or its runtime dependency on ghdiff from requirements.txt. To align with Frappe v15 tooling, please move the metadata previously in setup.py (name, version sourced from wiki/__init__.py, description, author, dependencies) into a [project] table in pyproject.toml and declare a [build-system] (e.g. setuptools or flit_core).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Talleyrand333 Talleyrand333 changed the title chore(WI-000787): developer tooling alignment chore(WI-000787): Remove Legacy setup.py in wiki May 20, 2026
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

Successfully merging this pull request may close these issues.

4 participants