Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead sh
#### Install dependencies

```sh
pip install -r requirements.txt
pip install -e ".[dev]"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot Does this include all dependencies? Or just develeopment?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot Also What does this mean?

  ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /Users/user/programming/tools/slack-cli/my-app
  (A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good catches! pip install ".[dev]" installs everything — all runtime dependencies from [project].dependencies (slack-sdk, slack-bolt, slack-cli-hooks, openai, python-dotenv) plus the dev tools from [project.optional-dependencies].dev (pytest, ruff).

The -e editable flag was the problem. The pyproject.toml has no [build-system] table, so pip doesn't know which build backend to use for editable installs, causing that error. Dropped the flag in 164897apip install ".[dev]" works correctly without editable mode, which is fine for an app template where you run the code rather than develop the package itself.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

That error was caused by the -e (editable mode) flag — pip needs a [build-system] section in pyproject.toml (or a setup.py/setup.cfg) to perform editable installs, and this project has neither. Fixed in 164897a by removing the -e flag: pip install ".[dev]" works without requiring a build backend.

```

</details>
Expand Down
11 changes: 0 additions & 11 deletions requirements.txt

This file was deleted.