pip et al don't handle metadata for pyproject.toml yet

This commit is contained in:
Jonathan Sundqvist 2021-07-05 09:46:56 +02:00
parent 03b6459cae
commit d6bfbea2af
4 changed files with 36 additions and 28 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
**.egg-info/*
__pycache__
dist/**

View File

@ -1,30 +1,3 @@
[project]
name = "pelican-obsidian"
version = "0.1.0"
description = "Makes pelican markdown files more compatible with Obsidian"
authors = [
"Jonathan Sundqvist <jonathan@argpar.se>"
]
license = "MIT"
readme = "README.md"
python = "^3.6"
homepage = "https://github.com/jonathan-s/pelican-obsidian"
repository = "https://github.com/jonathan-s/pelican-obsidian"
documentation = "https://github.com/jonathan-s/pelican-obsidian"
keywords = ["pelican", "obsidian", "plugin"]
classifiers = [
"Topic :: Software Development"
]
# Requirements
[dependencies]
pelican = "^4.5"
[dev-dependencies]
black = { version = "^18.3-alpha.0", python = "^3.6" }
[build-system]
requires = [
"setuptools>=45",

35
setup.cfg Normal file
View File

@ -0,0 +1,35 @@
[metadata]
name = pelican-obsidian
description = Makes pelican markdown files more compatible with Obsidian
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
url = https://github.com/jonathan-s/pelican-obsidian
author = Jonathan Sundqvist
author_email = jonathan@argpar.se,
license = MIT
license_file = LICENSE
classifiers =
Topic :: Software Development
keywords =
pelican
obsidian
plugin
project_urls =
Documentation = https://github.com/jonathan-s/pelican-obsidian
Source = https://github.com/jonathan-s/pelican-obsidian
Tracker = https://github.com/jonathan-s/pelican-obsidian/issues
Funding = https://github.com/sponsors/jonathan-s
[options]
zip_safe = True
packages = find:
platforms = any
include_package_data = True
install_requires =
pelican
python_requires = >=3.7
setup_requires =
setuptools_scm
[bdist_wheel]
universal = 1

View File

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