-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 MAINTAIN: Move from setuptools to flit for package build (#58)
- Loading branch information
1 parent
6a412a1
commit 43bb2cc
Showing
14 changed files
with
87 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: 2 | ||
|
||
python: | ||
version: "3" | ||
version: "3.8" | ||
install: | ||
- method: pip | ||
path: . | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,70 @@ | ||
[build-system] | ||
requires = ["setuptools>=46.4.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["flit_core >=3.4,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "sphinx_design" | ||
dynamic = ["version"] | ||
description = "A sphinx extension for designing beautiful, view size responsive web components." | ||
authors = [{name = "Chris Sewell", email = "chrisj_sewell@hotmail.com"}] | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Sphinx :: Extension", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Text Processing :: Markup", | ||
"Topic :: Text Processing :: Markup :: Markdown", | ||
"Topic :: Text Processing :: Markup :: reStructuredText", | ||
] | ||
keywords = ["sphinx", "extension", "material design", "web components"] | ||
requires-python = ">=3.7" | ||
dependencies = ["sphinx>=3,<5"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/executablebooks/sphinx-design" | ||
Documentation = "https://sphinx-design.readthedocs.io" | ||
|
||
[project.optional-dependencies] | ||
code_style = ["pre-commit~=2.12"] | ||
rtd = ["myst-parser~=0.17.0"] | ||
testing = [ | ||
"myst-parser~=0.17.0", | ||
"pytest~=6.2", | ||
"pytest-cov", | ||
"pytest-regressions", | ||
] | ||
theme_furo = ["furo==2022.04.07"] | ||
theme_pydata = ["pydata-sphinx-theme~=0.8.1"] | ||
theme_rtd = ["sphinx-rtd-theme~=1.0"] | ||
theme_sbt = ["sphinx-book-theme~=0.3.0"] | ||
|
||
[tool.flit.sdist] | ||
exclude = [ | ||
"docs/", | ||
"style/", | ||
"tests/", | ||
] | ||
|
||
[tool.mypy] | ||
show_error_codes = true | ||
warn_unused_ignores = true | ||
warn_redundant_casts = true | ||
no_implicit_optional = true | ||
strict_equality = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = ["docutils.*"] | ||
ignore_missing_imports = true | ||
|
||
[tool.isort] | ||
profile = "black" | ||
src_paths = ["sphinx_design", "tests"] | ||
force_sort_within_sections = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters