From 06b10fa54b3d69366b7b2f1942fd3d01924bd058 Mon Sep 17 00:00:00 2001 From: w4nn4d13 Date: Mon, 6 Apr 2026 13:39:03 +0530 Subject: [PATCH] Version 1.0.0 - Add PyPI publishing instructions --- README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26d7117..865eedc 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,64 @@ ExecuTrace is a Python library and CLI tool that captures developer workflows an ## Installation +### From PyPI (Global Library) ```bash +# Install globally from PyPI 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 ``` --- diff --git a/pyproject.toml b/pyproject.toml index 180400a..2b5cb6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "exectrace" -version = "0.1.0" +version = "1.0.0" description = "Record and replay developer workflows including terminal commands and file system changes" readme = "README.md" requires-python = ">=3.9"