Skip to content

Commit 94bc990

Browse files
itdoveclaude
andcommitted
docs: update RELEASING.md to reference pyproject.toml
Update release instructions to use pyproject.toml instead of deprecated setup.py for version management. - Replace setup.py references with pyproject.toml - Add note about PEP 517/518/621 adoption - Clarify that setup.py is kept for backward compatibility only Related: #360 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 4346410 commit 94bc990

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

RELEASING.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,11 @@ Update version in **devflow/__init__.py**:
9797
__version__ = "1.0.0" # Remove -dev suffix
9898
```
9999

100-
Update version in **setup.py**:
101-
```python
102-
setup(
103-
name="devaiflow",
104-
version="1.0.0", # Remove -dev suffix
105-
...
106-
)
100+
Update version in **pyproject.toml**:
101+
```toml
102+
[project]
103+
name = "devaiflow"
104+
version = "1.0.0" # Remove -dev suffix
107105
```
108106

109107
Commit the version bump:
@@ -113,7 +111,7 @@ chore: bump version to 1.0.0 for release
113111
114112
Prepare for v1.0.0 release:
115113
- Update version in devflow/__init__.py
116-
- Update version in setup.py
114+
- Update version in pyproject.toml
117115
118116
🤖 Generated with [Claude Code](https://claude.com/claude-code)
119117
@@ -310,13 +308,10 @@ Update to patch version in **devflow/__init__.py**:
310308
__version__ = "1.0.1"
311309
```
312310

313-
Update version in **setup.py**:
314-
```python
315-
setup(
316-
name="devaiflow",
317-
version="1.0.1",
318-
...
319-
)
311+
Update version in **pyproject.toml**:
312+
```toml
313+
[project]
314+
version = "1.0.1"
320315
```
321316

322317
#### 4. Update CHANGELOG.md
@@ -421,13 +416,16 @@ Version number is stored in two locations:
421416
__version__ = "1.0.0"
422417
```
423418

424-
2. **setup.py** - Package metadata
425-
```python
426-
version="1.0.0"
419+
2. **pyproject.toml** - Package metadata (PEP 621)
420+
```toml
421+
[project]
422+
version = "1.0.0"
427423
```
428424

429425
**Important**: Always keep these two files in sync during version bumps.
430426

427+
**Note**: The project uses pyproject.toml (PEP 517/518/621) for package configuration. The setup.py file is kept for backward compatibility but contains no version information.
428+
431429
### Version Display
432430

433431
Users can check the version using:

0 commit comments

Comments
 (0)