Skip to content

Commit 68f1738

Browse files
committed
switch to pyproject.toml
1 parent c04c4f1 commit 68f1738

File tree

4 files changed

+40
-59
lines changed

4 files changed

+40
-59
lines changed

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[build-system]
2+
requires = ["flit_core >=3.2,<4"]
3+
build-backend = "flit_core.buildapi"
4+
5+
[tool.flit.module]
6+
name = "sphinx_lesson"
7+
8+
[project]
9+
name = "sphinx-lesson"
10+
authors = [{name = "Richard Darst"}] # FIXME
11+
readme = "README.rst"
12+
license = {file = "LICENSE"}
13+
# https://pypi.org/classifiers/
14+
classifiers = [
15+
"License :: OSI Approved :: MIT License",
16+
"Programming Language :: Python :: 3",
17+
"Development Status :: 4 - Beta",
18+
"Framework :: Sphinx",
19+
"Framework :: Sphinx :: Extension",
20+
"Operating System :: OS Independent",
21+
]
22+
keywords = ["sphinx-extension"]
23+
requires-python = ">=3.3"
24+
dynamic = ["version", "description"]
25+
dependencies = [
26+
# FIXME
27+
"sphinx!=5.2.0.post0", # remove after next release
28+
"sphinx_rtd_theme",
29+
"sphinx_copybutton",
30+
"sphinx_minipres",
31+
"sphinx_tabs",
32+
"sphinx_togglebutton>=0.2.0",
33+
"sphinx-autobuild",
34+
#"myst_parser[sphinx]",
35+
"myst_nb>0.8.3",
36+
"sphinx_rtd_theme_ext_color_contrast",
37+
]
38+

requirements.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
sphinx!=5.2.0.post0 # remove after next release
2-
sphinx_rtd_theme
3-
sphinx_copybutton
4-
sphinx_minipres
5-
sphinx_tabs
6-
sphinx_togglebutton>=0.2.0
7-
sphinx-autobuild
8-
#myst_parser[sphinx]
9-
myst_nb>0.8.3
10-
sphinx_rtd_theme_ext_color_contrast
1+
.

setup.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

sphinx_lesson/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Sphinx extension for CodeRefinery lessons"""
12
from ._version import __version__
23

34
def setup(app):

0 commit comments

Comments
 (0)