mirror of
https://github.com/th30d4y/ExecuTrace.git
synced 2026-05-26 11:35:51 +00:00
Version 1.0.0 - Add PyPI publishing instructions
This commit is contained in:
@@ -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
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user