Try to figure out pyproject.toml

This commit is contained in:
Jonathan Sundqvist 2021-07-05 09:12:44 +02:00
parent e1f43b285d
commit 03b6459cae
3 changed files with 10 additions and 5 deletions

7
_setup.py Normal file
View File

@ -0,0 +1,7 @@
# setup.py
from setuptools import setup
setup(
name="pelican-obsidian",
use_scm_version=True,
setup_requires=['setuptools_scm'],
)

View File

@ -27,8 +27,9 @@ black = { version = "^18.3-alpha.0", python = "^3.6" }
[build-system]
requires = [
"setuptools >= 35.0.2",
"setuptools_scm >= 2.0.0, <3"
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.0",
]
build-backend = "setuptools.build_meta"

View File

@ -1,3 +0,0 @@
# setup.py
from setuptools import setup
setup(name="pelican-obsidian", use_scm_version=True)