Move dependencies to pyproject.toml

This commit is contained in:
Jordan Cook 2023-07-10 22:08:50 -05:00
parent 445827690a
commit e2a8514e23
4 changed files with 25 additions and 14 deletions

2
.gitignore vendored
View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -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