diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 4b08971..0000000 --- a/.drone.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -matrix: - include: - - IMAGE: 3.8-buster - TOXENV: py38 - - IMAGE: 3.8-buster - TOXENV: lint - - IMAGE: 3.8-buster - TOXENV: sort - - IMAGE: 3.8-buster - TOXENV: format - -pipeline: - build: - image: python:${IMAGE} - commands: - - pip install tox - - tox -e ${TOXENV} diff --git a/README.md b/README.md index eb58fd9..e3748ca 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Magic App -[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/magic-app/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/magic-app) - A swarm of dreams. ## Proof Of Concept @@ -20,5 +18,5 @@ A swarm of dreams. $ python3 -m venv .venv $ source .venv/bin/activate $ pip install -r requirements.txt -$ python magic_app/app.py +$ python one.py / two.py / three.py ``` diff --git a/magic_app/static/apps.json b/magic_app/static/apps.json deleted file mode 100644 index 8d48edc..0000000 --- a/magic_app/static/apps.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "gitea": "https://git.autonomic.zone/compose-stacks/gitea" -} diff --git a/magic_app/app.py b/one.py similarity index 97% rename from magic_app/app.py rename to one.py index 888e788..6cd4f49 100644 --- a/magic_app/app.py +++ b/one.py @@ -1,3 +1,9 @@ +"""The all singing all dancing auto-generation from compose.yml attempt. + +Largely unfinished, just a stab in the dark. + +""" + from json import loads from os.path import exists from pathlib import Path diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 50cb059..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,11 +0,0 @@ -[build-system] -requires = [ - "setuptools", - "setuptools-scm", - "wheel", -] -build-backend = "setuptools.build_meta" - -[tool.black] -line-length = 80 -target-version = ["py38"] diff --git a/setup.py b/setup.py deleted file mode 100644 index 119b15c..0000000 --- a/setup.py +++ /dev/null @@ -1,16 +0,0 @@ -from setuptools import find_packages, setup - -setup( - name="magic-app", - version="0.0.1a1", - url="https://git.autonomic.zone/autonomic-cooperative/magic-app", - author="Autonomic Cooperative", - author_email="helo@autonomic.zone", - description="Magic App", - packages=find_packages(), - install_requires=[ - "flask>=1.1.2,<2", - "flask-wtf>=0.14.3,<0.15", - "ruamel.yaml>=0.16.10,<0.17", - ], -) diff --git a/magic_app/templates/index.html b/templates/index.html similarity index 100% rename from magic_app/templates/index.html rename to templates/index.html diff --git a/magic_app/templates/install.html b/templates/install.html similarity index 100% rename from magic_app/templates/install.html rename to templates/install.html diff --git a/tox.ini b/tox.ini deleted file mode 100644 index dd715dd..0000000 --- a/tox.ini +++ /dev/null @@ -1,25 +0,0 @@ -[tox] -envlist = - py38 - lint - sort - format -skip_missing_interpreters = True -isolated_build = True - -[testenv] - -[testenv:lint] -skipdist = True -deps = flake8 -commands = flake8 {posargs} magic_app/ - -[testenv:sort] -skipdist = True -deps = isort -commands = isort {posargs:-rc -c} -sp setup.cfg magic_app/ - -[testenv:format] -skipdist = True -deps = black -commands = black {posargs:--check} magic_app/