With the new pyproject.toml, tailops can now be installed as a proper Python package.
# Install in development mode (editable)
pip install -e .
# Now you can use the tailops command globally
tailops --help
tailops version
tailops status# Install build tools
pip install build twine
# Build the package
python -m build
# This creates:
# - dist/tailops-1.0.0.tar.gz (source distribution)
# - dist/tailops-1.0.0-py3-none-any.whl (wheel)# Install from wheel
pip install dist/tailops-1.0.0-py3-none-any.whl
# Or install from source
pip install dist/tailops-1.0.0.tar.gz# Upload to PyPI (when ready)
twine upload dist/*
# Then users can install with:
pip install tailops# Install with development dependencies
pip install -e ".[dev]"
# This includes:
# - pytest (testing)
# - black (code formatting)
# - flake8 (linting)
# - mypy (type checking)
# - pre-commit (git hooks)- Entry Point:
tailopscommand available globally after installation - Package Data: Config templates included automatically
- Dependencies: All requirements properly specified
- Development Tools: Configured for black, flake8, mypy, pytest
- PyPI Ready: Complete metadata for package distribution
After installation, verify everything works:
tailops --version
tailops status
tailops tenant --help
tailops device --helppip uninstall tailops