Move dependencies to pyproject.toml
This commit is contained in:
parent
445827690a
commit
e2a8514e23
|
@ -1,5 +1,6 @@
|
|||
*$py.class
|
||||
*.py[cod]
|
||||
*.egg-info
|
||||
.cache
|
||||
.idea/
|
||||
.mypy_cache/
|
||||
|
@ -11,6 +12,7 @@
|
|||
.~*
|
||||
__pycache__/
|
||||
_build/
|
||||
build/
|
||||
dist/
|
||||
downloads/
|
||||
pages/tags/
|
||||
|
|
|
@ -6,9 +6,9 @@ Markdown-based static site generated with [Sphinx](docs.readthedocs.io) and [MyS
|
|||
## Setup
|
||||
Prerequisites:
|
||||
* python 3.8+
|
||||
|
||||
* Install dependencies:
|
||||
```bash
|
||||
pip install -U -r requirements.txt
|
||||
pip install -Ue "."
|
||||
```
|
||||
|
||||
## 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]
|
||||
skip-string-normalization = true
|
||||
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