Metadata-Version: 2.1
Name: backend.ai-install
Version: 24.3.0.dev0
Summary: Backend.AI Installer
Home-page: https://github.com/lablup/backend.ai
Author: Lablup Inc. and contributors
License: MIT
Project-URL: Documentation, https://docs.backend.ai/
Project-URL: Source, https://github.com/lablup/backend.ai
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: No Input/Output (Daemon)
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.11,<3.12
Description-Content-Type: text/markdown
Requires-Dist: aiohttp (~=3.8.1)
Requires-Dist: backend.ai-common (==24.03.0dev0)
Requires-Dist: backend.ai-plugin (==24.03.0dev0)
Requires-Dist: click (~=8.1.7)
Requires-Dist: pydantic (~=2.4.2)
Requires-Dist: rich (~=13.6)
Requires-Dist: textual (~=0.41)
Requires-Dist: tomlkit (~=0.11.1)

Backend.AI Installer
====================

Package Structure
-----------------

* `ai.backend.install`: The installer package

Development
-----------

### Using the textual debug mode

First, install the textual-dev package in the `python-default` venv.
```shell
./py -m pip install textual-dev
```

Open two terminal sessions.
In the first one, run:
```shell
dist/export/python/virtualenvs/python-default/3.11.6/bin/textual console
```

In the second one, run:
```shell
# manually activate the venv; otherwise textual cannot find itself
source dist/export/python/virtualenvs/python-default/3.11.6/bin/activate
PYTHONPATH=src dist/export/python/virtualenvs/python-default/3.11.6/bin/textual run --dev ai.backend.install.cli:InstallerApp
```

> **Warning**
> You should use the `textual` executable created *inside the venv's `bin` directory*.
> `./py -m textual` only shows the demo instead of executing the devtool command.
