about summary refs log tree commit diff stats
path: root/templates/unmaintained/python/README.md
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 12:54:37 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 12:54:37 +0200
commit08eb5c464906a29e9f5135e1fb11e872b93746b1 (patch)
treec1cbbeade93e8d74009273e51e9fb9744bcf3d0a /templates/unmaintained/python/README.md
parentdocs(update_common_files): Improve terminal output (diff)
downloadflake-templates-08eb5c464906a29e9f5135e1fb11e872b93746b1.tar.gz
flake-templates-08eb5c464906a29e9f5135e1fb11e872b93746b1.zip
refactor(templates/unmaintained): Move out of the templates dir
Otherwise, the `update_common_files` script will try to instantiate
files in there, which is just useless noise.
Diffstat (limited to 'templates/unmaintained/python/README.md')
-rw-r--r--templates/unmaintained/python/README.md46
1 files changed, 0 insertions, 46 deletions
diff --git a/templates/unmaintained/python/README.md b/templates/unmaintained/python/README.md
deleted file mode 100644
index aa95851..0000000
--- a/templates/unmaintained/python/README.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# python-app
-
-## Setting up
-
-Rename `python_app` directory, name and main entrypoint in `setup.cfg`.
-
-## Using
-
-- running: `nix run`
-- dev shell (for IDE): `nix develop`
-- edit `setup.cfg` to add requirements (install_requires)
-- edit `requirements.txt` for dev shell requirements
-
-### Docker image
-
-- build: `nix build .#image -o image`
-- load to docker: `docker load < ./image`
-
-## Updating mach-nix pypi deps db
-
-Add to inputs:
-
-```nix
-pypi-deps-db = {
-  url = "github:davhau/pypi-deps-db/0000000000000000000000000000000000000000";
-  flake = false;
-};
-mach-nix.inputs.pypi-deps-db.follows = "pypi-deps-db";
-```
-
-## Adding git dependency
-
-Add to mkPython ([more info](https://github.com/DavHau/mach-nix/blob/master/examples.md)):
-
-```nix
-packagesExtra = [
-  (mach.buildPythonPackage
-    {
-      src = builtins.fetchGit {
-        url = "https://github.com/user/repo";
-        ref = "branch";
-        rev = "0000000000000000000000000000000000000000";
-      };
-    })
-];
-```