cf-setup-wizard 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cf_setup_wizard-0.1.0/PKG-INFO +72 -0
- cf_setup_wizard-0.1.0/README.md +60 -0
- cf_setup_wizard-0.1.0/pyproject.toml +28 -0
- cf_setup_wizard-0.1.0/setup.cfg +4 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/__init__.py +3 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/app.py +1374 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/cli.py +65 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/cli_registration.py +31 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/fallback.py +79 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/integrate.py +180 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/license_text.py +680 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/__init__.py +0 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/complete_screen.py +19 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/confirm_screen.py +21 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/install_screen.py +31 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/prereq_screen.py +24 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/profile_screen.py +25 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/screens/welcome_screen.py +18 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/styles.py +287 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/__init__.py +0 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/checklist.py +38 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/header.py +41 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/mwe.py +125 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/mwe2.py +43 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/progress_bar.py +32 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard/widgets/status_indicator.py +26 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard.egg-info/PKG-INFO +72 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard.egg-info/SOURCES.txt +32 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard.egg-info/dependency_links.txt +1 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard.egg-info/entry_points.txt +2 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard.egg-info/requires.txt +7 -0
- cf_setup_wizard-0.1.0/src/cf_setup_wizard.egg-info/top_level.txt +1 -0
- cf_setup_wizard-0.1.0/tests/test_cli.py +36 -0
- cf_setup_wizard-0.1.0/tests/test_fallback.py +37 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cf-setup-wizard
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Cogniflow setup wizard - interactive terminal installation
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: textual>=0.50
|
|
8
|
+
Provides-Extra: test
|
|
9
|
+
Requires-Dist: pytest<9.0,>=8.0; extra == "test"
|
|
10
|
+
Provides-Extra: full
|
|
11
|
+
Requires-Dist: cf-setup>=0.1.3; extra == "full"
|
|
12
|
+
|
|
13
|
+
# cf-setup-wizard
|
|
14
|
+
|
|
15
|
+
Interactive terminal installation wizard for Cogniflow.
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pip install cf-setup-wizard
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Launch the interactive wizard
|
|
27
|
+
cf wizard
|
|
28
|
+
|
|
29
|
+
# Or use directly
|
|
30
|
+
python -m cf_setup_wizard
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Features
|
|
34
|
+
|
|
35
|
+
- Interactive TUI with futuristic dark cyan/blue theme
|
|
36
|
+
- System prerequisite checks (Python, pip, venv, cmake, git, node, npm)
|
|
37
|
+
- Profile selection (core, steps, web, full)
|
|
38
|
+
- Real-time progress bars and installation tracking
|
|
39
|
+
- Non-interactive fallback for CI/CD environments
|
|
40
|
+
|
|
41
|
+
## Publishing
|
|
42
|
+
|
|
43
|
+
`cf-setup-wizard` is prepared for the dedicated Windows workflow:
|
|
44
|
+
|
|
45
|
+
- Workflow: `.github/workflows/cf_setup_wizard_windows_publish.yml`
|
|
46
|
+
- Package directory: `sandcastle/cf_setup_wizard`
|
|
47
|
+
- PyPI tag: `cf-setup-wizard-v<version>`
|
|
48
|
+
- TestPyPI tag: `cf-setup-wizard-v<version>-test`
|
|
49
|
+
- Release order: publish `cf-core-cli 0.1.5` first, then `cf-setup`, then `cf-setup-wizard`, then `cogniflow`
|
|
50
|
+
|
|
51
|
+
Local preflight:
|
|
52
|
+
|
|
53
|
+
```powershell
|
|
54
|
+
powershell -ExecutionPolicy Bypass -File scripts/mimic_windows_python_publish_workflow.ps1 `
|
|
55
|
+
-WorkflowFile .github/workflows/cf_setup_wizard_windows_publish.yml `
|
|
56
|
+
-PackageDir sandcastle/cf_setup_wizard `
|
|
57
|
+
-PythonExe py `
|
|
58
|
+
-PythonVersion 3.14
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Queue a dry-run dispatch:
|
|
62
|
+
|
|
63
|
+
```powershell
|
|
64
|
+
powershell -ExecutionPolicy Bypass -File scripts/queue_windows_python_publish_workflow.ps1 `
|
|
65
|
+
-WorkflowFile .github/workflows/cf_setup_wizard_windows_publish.yml `
|
|
66
|
+
-PackageDir sandcastle/cf_setup_wizard `
|
|
67
|
+
-PublishTarget testpypi `
|
|
68
|
+
-Ref main `
|
|
69
|
+
-RequireLocalPass `
|
|
70
|
+
-DryRun `
|
|
71
|
+
-ReleaseTag cf-setup-wizard-v0.1.0-test
|
|
72
|
+
```
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# cf-setup-wizard
|
|
2
|
+
|
|
3
|
+
Interactive terminal installation wizard for Cogniflow.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install cf-setup-wizard
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Launch the interactive wizard
|
|
15
|
+
cf wizard
|
|
16
|
+
|
|
17
|
+
# Or use directly
|
|
18
|
+
python -m cf_setup_wizard
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Features
|
|
22
|
+
|
|
23
|
+
- Interactive TUI with futuristic dark cyan/blue theme
|
|
24
|
+
- System prerequisite checks (Python, pip, venv, cmake, git, node, npm)
|
|
25
|
+
- Profile selection (core, steps, web, full)
|
|
26
|
+
- Real-time progress bars and installation tracking
|
|
27
|
+
- Non-interactive fallback for CI/CD environments
|
|
28
|
+
|
|
29
|
+
## Publishing
|
|
30
|
+
|
|
31
|
+
`cf-setup-wizard` is prepared for the dedicated Windows workflow:
|
|
32
|
+
|
|
33
|
+
- Workflow: `.github/workflows/cf_setup_wizard_windows_publish.yml`
|
|
34
|
+
- Package directory: `sandcastle/cf_setup_wizard`
|
|
35
|
+
- PyPI tag: `cf-setup-wizard-v<version>`
|
|
36
|
+
- TestPyPI tag: `cf-setup-wizard-v<version>-test`
|
|
37
|
+
- Release order: publish `cf-core-cli 0.1.5` first, then `cf-setup`, then `cf-setup-wizard`, then `cogniflow`
|
|
38
|
+
|
|
39
|
+
Local preflight:
|
|
40
|
+
|
|
41
|
+
```powershell
|
|
42
|
+
powershell -ExecutionPolicy Bypass -File scripts/mimic_windows_python_publish_workflow.ps1 `
|
|
43
|
+
-WorkflowFile .github/workflows/cf_setup_wizard_windows_publish.yml `
|
|
44
|
+
-PackageDir sandcastle/cf_setup_wizard `
|
|
45
|
+
-PythonExe py `
|
|
46
|
+
-PythonVersion 3.14
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Queue a dry-run dispatch:
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
powershell -ExecutionPolicy Bypass -File scripts/queue_windows_python_publish_workflow.ps1 `
|
|
53
|
+
-WorkflowFile .github/workflows/cf_setup_wizard_windows_publish.yml `
|
|
54
|
+
-PackageDir sandcastle/cf_setup_wizard `
|
|
55
|
+
-PublishTarget testpypi `
|
|
56
|
+
-Ref main `
|
|
57
|
+
-RequireLocalPass `
|
|
58
|
+
-DryRun `
|
|
59
|
+
-ReleaseTag cf-setup-wizard-v0.1.0-test
|
|
60
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=70"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "cf-setup-wizard"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Cogniflow setup wizard - interactive terminal installation"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"textual>=0.50",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[project.optional-dependencies]
|
|
16
|
+
test = [
|
|
17
|
+
"pytest>=8.0,<9.0",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
full = [
|
|
21
|
+
"cf-setup>=0.1.3",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.scripts]
|
|
25
|
+
cf-wizard = "cf_setup_wizard.cli:main"
|
|
26
|
+
|
|
27
|
+
[tool.setuptools.packages.find]
|
|
28
|
+
where = ["src"]
|