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

main
Jonathan Sundqvist 3 years ago
parent 03b6459cae
commit d6bfbea2af
  1. 1
      .gitignore
  2. 27
      pyproject.toml
  3. 35
      setup.cfg
  4. 1
      setup.py

1
.gitignore vendored

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

@ -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",

@ -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

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