From 7b774990122a8f3e61f06eecc9f11b9a8ced72d6 Mon Sep 17 00:00:00 2001 From: Greenscreener Date: Tue, 18 Jul 2023 15:18:10 +0200 Subject: [PATCH] =?UTF-8?q?#1:=20Zabal=C3=AD=C4=8Dkov=C3=A1n=C3=AD=20katex?= =?UTF-8?q?-serveru?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + pyproject.toml | 13 +++++++++++-- .../formatitko/katex-server}/.gitignore | 0 .../formatitko/katex-server}/README.md | 0 .../formatitko/katex-server}/index.js | 0 .../formatitko/katex-server}/index.mjs | 0 .../formatitko/katex-server}/package-lock.json | 0 .../formatitko/katex-server}/package.json | 0 8 files changed, 12 insertions(+), 2 deletions(-) rename {katex-server => src/formatitko/katex-server}/.gitignore (100%) rename {katex-server => src/formatitko/katex-server}/README.md (100%) rename {katex-server => src/formatitko/katex-server}/index.js (100%) rename {katex-server => src/formatitko/katex-server}/index.mjs (100%) rename {katex-server => src/formatitko/katex-server}/package-lock.json (100%) rename {katex-server => src/formatitko/katex-server}/package.json (100%) diff --git a/.gitignore b/.gitignore index 04b8fd9..dbd6b89 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ public/ **/*.egg-info build/ dist/ +**/node_modules diff --git a/pyproject.toml b/pyproject.toml index 801ebd2..91ed4d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,11 @@ [build-system] -requires = ["setuptools>=61.0"] +requires = ["setuptools>=61.0","setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [project] name = "formatitko" -version = "0.0.1" +#version = "0.0.1" +dynamic = ["version"] authors = [ { name="Greenscreener ", email="gs@grsc.cz" }, { name="Organizers of KSP", email="ksp-tech@ksp.mff.cuni.cz" } @@ -24,3 +25,11 @@ classifiers = [ [project.scripts] formatitko = "formatitko.formatitko:main" + +[tool.setuptools_scm] + + +[tool.setuptools.packages.find] +where = ["src"] +exclude = ["src/formatitko/katex-server/node_modules"] + diff --git a/katex-server/.gitignore b/src/formatitko/katex-server/.gitignore similarity index 100% rename from katex-server/.gitignore rename to src/formatitko/katex-server/.gitignore diff --git a/katex-server/README.md b/src/formatitko/katex-server/README.md similarity index 100% rename from katex-server/README.md rename to src/formatitko/katex-server/README.md diff --git a/katex-server/index.js b/src/formatitko/katex-server/index.js similarity index 100% rename from katex-server/index.js rename to src/formatitko/katex-server/index.js diff --git a/katex-server/index.mjs b/src/formatitko/katex-server/index.mjs similarity index 100% rename from katex-server/index.mjs rename to src/formatitko/katex-server/index.mjs diff --git a/katex-server/package-lock.json b/src/formatitko/katex-server/package-lock.json similarity index 100% rename from katex-server/package-lock.json rename to src/formatitko/katex-server/package-lock.json diff --git a/katex-server/package.json b/src/formatitko/katex-server/package.json similarity index 100% rename from katex-server/package.json rename to src/formatitko/katex-server/package.json