diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bcd957..275f82a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,7 @@ jobs: env: SETUPTOOLS_SCM_PRETEND_VERSION: ${{ inputs.version_name }} run: | + echo Got env version: $SETUPTOOLS_SCM_PRETEND_VERSION python -m pip install --upgrade pip pip install build python -m build diff --git a/pyproject.toml b/pyproject.toml index a675a2c..00f0a2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,16 @@ +[project] +name = "sssimp" +description = "The Static Site Solution In Modern Python" +readme = "README.md" +dynamic = ["version"] +dependencies = ["jinja2", "markdown", "pymdown-extensions", "pyyaml"] +scripts = { sssimp = "sssimp.__main__:main" } + +[build-system] +requires = ["setuptools", "setuptools_scm"] + +[tool.black] +line-length = 80 + [tool.setuptools_scm] local_scheme = "no-local-version" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 4c20327..0000000 --- a/setup.cfg +++ /dev/null @@ -1,29 +0,0 @@ -[metadata] -name = sssimp -author = Tina -author_email = me@tina.moe -description = A simple static website generator -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/Tina-otoge/sssimp -dynamic = ["version"] - -[build-system] -requires = ["setuptools", "setuptools_scm[toml]"] - -[options] -packages = find: -package_dir = = src -include_package_data = true -install_requires = - jinja2 - markdown - pymdown-extensions - pyyaml - -[options.packages.find] -where = src - -[options.entry_points] -console_scripts = - sssimp = sssimp.__main__:main