Move dependencies to pyproject.toml
This commit is contained in:
parent
445827690a
commit
e2a8514e23
|
@ -1,5 +1,6 @@
|
||||||
*$py.class
|
*$py.class
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
*.egg-info
|
||||||
.cache
|
.cache
|
||||||
.idea/
|
.idea/
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
@ -11,6 +12,7 @@
|
||||||
.~*
|
.~*
|
||||||
__pycache__/
|
__pycache__/
|
||||||
_build/
|
_build/
|
||||||
|
build/
|
||||||
dist/
|
dist/
|
||||||
downloads/
|
downloads/
|
||||||
pages/tags/
|
pages/tags/
|
||||||
|
|
|
@ -6,9 +6,9 @@ Markdown-based static site generated with [Sphinx](docs.readthedocs.io) and [MyS
|
||||||
## Setup
|
## Setup
|
||||||
Prerequisites:
|
Prerequisites:
|
||||||
* python 3.8+
|
* python 3.8+
|
||||||
|
* Install dependencies:
|
||||||
```bash
|
```bash
|
||||||
pip install -U -r requirements.txt
|
pip install -Ue "."
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -1,3 +1,24 @@
|
||||||
|
[project]
|
||||||
|
name = 'jwcook.tilde.team'
|
||||||
|
requires-python = '>=3.8'
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
'furo~=2023.5',
|
||||||
|
'linkify-it-py>=2.0',
|
||||||
|
'myst-parser~=2.0',
|
||||||
|
'pre-commit~=3.0',
|
||||||
|
'sphinx~=6.2',
|
||||||
|
'sphinx-autobuild>=2021.3',
|
||||||
|
'sphinx-copybutton>=0.5',
|
||||||
|
'sphinx-design>=0.4',
|
||||||
|
'sphinx-notfound-page>=0.8',
|
||||||
|
'sphinx-tags>=0.2',
|
||||||
|
]
|
||||||
|
|
||||||
|
# Placeholder to allow installing dependencies as if it were a package
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = ['pages']
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
skip-string-normalization = true
|
skip-string-normalization = true
|
||||||
line-length = 100
|
line-length = 100
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
furo~=2023.5
|
|
||||||
linkify-it-py>=2.0
|
|
||||||
myst-parser~=2.0
|
|
||||||
sphinx~=6.2
|
|
||||||
sphinx-autobuild>=2021.3
|
|
||||||
sphinx-copybutton>=0.5
|
|
||||||
sphinx-design>=0.4
|
|
||||||
sphinx-notfound-page>=0.8
|
|
||||||
sphinx-tags>=0.2
|
|
||||||
|
|
||||||
# dev tools; not required for doc builds
|
|
||||||
pre-commit~=3.0
|
|
Loading…
Reference in New Issue