Skip to content

Commit 0107bab

Browse files
committed
Moved the metadata into PEP 621-compliant pyprject.toml
1 parent 032e6ca commit 0107bab

File tree

2 files changed

+49
-43
lines changed

2 files changed

+49
-43
lines changed

pyproject.toml

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
11
[build-system]
2-
requires = ["setuptools>=42.2"]
2+
requires = ["setuptools>=61.2"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "mdv"
7+
version = "1.7.4"
8+
authors = [{name = "Axiros GmbH", email = "[email protected]"}]
9+
description = "Terminal Markdown Viewer"
10+
keywords = [
11+
"markdown",
12+
"markup",
13+
"terminal",
14+
"hilighting",
15+
"syntax",
16+
"source code",
17+
]
18+
classifiers = [
19+
"Programming Language :: Python",
20+
"Natural Language :: English",
21+
"Operating System :: POSIX",
22+
"Topic :: Text Processing :: Markup",
23+
"License :: OSI Approved :: BSD License",
24+
"Programming Language :: Python :: 2.7",
25+
"Programming Language :: Python :: 3.6",
26+
"Programming Language :: Python :: 3.7",
27+
]
28+
dependencies = ["pygments", "markdown"]
29+
30+
[project.readme]
31+
file = "README.md"
32+
content-type = "text/markdown"
33+
34+
[project.urls]
35+
Homepage = "http://github.com/axiros/terminal_markdown_viewer"
36+
Download = "http://github.com/axiros/terminal_markdown_viewer/tarball/"
37+
38+
[project.optional-dependencies]
39+
yaml = ["pyyaml"]
40+
testing = ["pytest"]
41+
42+
[project.scripts]
43+
mdv = "mdv:run"
44+
45+
[tool.setuptools]
46+
include-package-data = true
47+
48+
[tool.setuptools.packages.find]
49+
include = ["mdv", "mdv.*"]
50+
namespaces = false
51+

setup.cfg

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,3 @@
1-
[metadata]
2-
name = mdv
3-
version = 1.7.4
4-
author = Axiros GmbH
5-
author_email = [email protected]
6-
description = Terminal Markdown Viewer
7-
keywords =
8-
markdown
9-
markup
10-
terminal
11-
hilighting
12-
syntax
13-
source code
14-
url = http://github.com/axiros/terminal_markdown_viewer
15-
download_url = http://github.com/axiros/terminal_markdown_viewer/tarball/
16-
long_description = file: README.md
17-
long_description_content_type = text/markdown
18-
classifiers =
19-
Programming Language :: Python
20-
Natural Language :: English
21-
Operating System :: POSIX
22-
Topic :: Text Processing :: Markup
23-
License :: OSI Approved :: BSD License
24-
Programming Language :: Python :: 2.7
25-
Programming Language :: Python :: 3.6
26-
Programming Language :: Python :: 3.7
27-
28-
[options]
29-
packages = find:
30-
install_requires = pygments; markdown
31-
include_package_data = True
32-
tests_require = pytest
33-
34-
[options.packages.find]
35-
include = mdv, mdv.*
36-
37-
[options.entry_points]
38-
console_scripts = mdv = mdv:run
39-
40-
[options.extras_require]
41-
yaml = pyyaml
42-
431
[report]
442
exclude_lines =
453
pragma: no cover

0 commit comments

Comments
 (0)