2026-01-22 01:58:31 +00:00
|
|
|
# See
|
|
|
|
|
# https://medium.com/nerd-for-tech/how-to-build-and-distribute-a-cli-tool-with-python-537ae41d9d78
|
2022-08-23 17:32:55 +00:00
|
|
|
from setuptools import setup, find_packages
|
2026-01-22 01:58:31 +00:00
|
|
|
|
2022-08-23 17:32:55 +00:00
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
|
|
long_description = fh.read()
|
|
|
|
|
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
|
|
|
|
requirements = fh.read()
|
2024-07-09 15:37:35 +00:00
|
|
|
with open("stack_orchestrator/data/version.txt", "r", encoding="utf-8") as fh:
|
|
|
|
|
version = fh.readlines()[-1].strip(" \n")
|
2022-08-23 17:32:55 +00:00
|
|
|
setup(
|
2026-01-22 01:58:31 +00:00
|
|
|
name="laconic-stack-orchestrator",
|
2024-07-09 15:37:35 +00:00
|
|
|
version=version,
|
2026-01-22 01:58:31 +00:00
|
|
|
author="Cerc",
|
|
|
|
|
author_email="info@cerc.io",
|
|
|
|
|
license="GNU Affero General Public License",
|
|
|
|
|
description="Orchestrates deployment of the Laconic stack",
|
2022-10-04 01:37:18 +00:00
|
|
|
long_description=long_description,
|
|
|
|
|
long_description_content_type="text/markdown",
|
Migrate canonical source from Gitea to GitHub (#738)
- Update all self-references from `git.vdb.to/cerc-io/stack-orchestrator` to
`github.com/cerc-io/stack-orchestrator` (setup.py, pyproject.toml, README,
docs, install scripts, cloud-init scripts, stack READMEs)
- Fix release download URL pattern (`releases/download/latest` -> `releases/latest/download`)
- Port 5 Gitea-only CI workflows to GitHub Actions (k8s-deploy, k8s-deployment-control, container-registry, database, external-stack)
- Pin `shiv==1.0.8` in all workflows for reproducible builds
- Restrict smoke/deploy/webapp test push triggers to `main` only
- Remove `.gitea/` directory - Gitea repo to be archived
2026-04-02 05:28:14 +00:00
|
|
|
url="https://github.com/cerc-io/stack-orchestrator",
|
2026-01-22 01:58:31 +00:00
|
|
|
py_modules=["stack_orchestrator"],
|
2022-10-04 01:37:18 +00:00
|
|
|
packages=find_packages(),
|
|
|
|
|
install_requires=[requirements],
|
2026-01-22 01:58:31 +00:00
|
|
|
python_requires=">=3.7",
|
2022-11-16 05:02:44 +00:00
|
|
|
include_package_data=True,
|
2026-01-22 01:58:31 +00:00
|
|
|
package_data={"": ["data/**"]},
|
2022-08-23 17:32:55 +00:00
|
|
|
classifiers=[
|
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
|
],
|
2022-10-04 01:37:18 +00:00
|
|
|
entry_points={
|
2026-01-22 01:58:31 +00:00
|
|
|
"console_scripts": ["laconic-so=stack_orchestrator.main:cli"],
|
|
|
|
|
},
|
2022-08-23 17:32:55 +00:00
|
|
|
)
|