## Goal Make merjs installable via pip: `pip install merlionjs` ## Deliverables - [x] Create `packages/pypi/` package structure - [x] Set up PyPI account and API token - [x] Package name `merlionjs` secured and published - [x] Test on macOS, Linux, Windows - [ ] Update README with pip installation instructions ## Package Structure ``` packages/pypi/ ├── pyproject.toml # Modern Python packaging ├── setup.py # Custom install with binary download ├── src/merjs/ │ ├── __init__.py # Package API │ ├── cli.py # Entry point wrapper │ └── install.py # Binary downloader └── README.md ``` ## Installation Flow 1. User runs `pip install merlionjs` 2. Setup script triggers binary download during install 3. Downloads appropriate binary from GitHub releases 4. Verifies SHA256 checksum 5. Places binary in package `bin/` directory 6. `mer` and `merjs` CLI commands registered via entry points ## Install Commands ```bash pip install merlionjs mer init my-app ``` ## Technical Details - Uses modern `pyproject.toml` + setuptools - Entry points: `mer` and `merjs` commands - Downloads from: `https://github.com/justrach/merjs/releases` - Supports: macOS (x64/arm64), Linux (x64/arm64), Windows (x64) - Requires Python 3.8+ ## Published ✅ **Package:** https://pypi.org/project/merlionjs/0.2.2/ ## Related - npm distribution issue #77 - Issue #67 (build system DX)
Goal
Make merjs installable via pip:
pip install merlionjsDeliverables
packages/pypi/package structuremerlionjssecured and publishedPackage Structure
Installation Flow
pip install merlionjsbin/directorymerandmerjsCLI commands registered via entry pointsInstall Commands
Technical Details
pyproject.toml+ setuptoolsmerandmerjscommandshttps://github.com/justrach/merjs/releasesPublished
✅ Package: https://pypi.org/project/merlionjs/0.2.2/
Related