Version 1.0.0 - Add PyPI publishing instructions

This commit is contained in:
w4nn4d13
2026-04-06 13:39:03 +05:30
parent 065eae9134
commit 06b10fa54b
2 changed files with 57 additions and 1 deletions
+56
View File
@@ -42,8 +42,64 @@ ExecuTrace is a Python library and CLI tool that captures developer workflows an
## Installation ## Installation
### From PyPI (Global Library)
```bash ```bash
# Install globally from PyPI
pip install exectrace pip install exectrace
# Verify installation
exectrace --help
```
### From Source (Development)
```bash
git clone https://github.com/Stalin-143/ExecuTrace.git
cd ExecuTrace
pip install -e .
```
---
## Publishing to PyPI
To publish ExecuTrace as a Python package to PyPI:
### Prerequisites
```bash
pip install build twine
```
### Build the Package
```bash
python -m build
```
This creates:
- `dist/exectrace-1.0.0.tar.gz` (source distribution)
- `dist/exectrace-1.0.0-py3-none-any.whl` (wheel)
### Upload to PyPI
```bash
# Upload to official PyPI (requires PyPI account)
twine upload dist/*
# Or test upload first
twine upload -r testpypi dist/*
```
### PyPI Account Setup
1. Create account at https://pypi.org/account/register/
2. Generate API token at https://pypi.org/manage/account/token/
3. Create `~/.pypirc`:
```
[distutils]
index-servers =
pypi
[pypi]
repository = https://upload.pypi.org/legacy/
username = __token__
password = pypi_YOUR_TOKEN_HERE
``` ```
--- ---
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "exectrace" name = "exectrace"
version = "0.1.0" version = "1.0.0"
description = "Record and replay developer workflows including terminal commands and file system changes" description = "Record and replay developer workflows including terminal commands and file system changes"
readme = "README.md" readme = "README.md"
requires-python = ">=3.9" requires-python = ">=3.9"