pyproject.toml - Poetry configuration¶
See the Poetry docs to get an understanding of how poetry does specifies dependencies.
Important: Before running poetry install
or poetry update
, run poetry-fix
so that development dependencies will be installed correctly. See poetry_fix.py - Work around Poetry bugs. Since this script isn’t installed until the first run of poetry install
, run the script after the install then run poetry update
again.
Project metadata¶
Dependencies¶
[tool.poetry.dependencies]
cryptography = "^3.0.0"
altair = "^4.0.0"
beautifulsoup4 = "^4.0.0"
bleach = "> 3.1.1"
bookserver = "^1.0.0"
celery = { extras = ["redis,gevent"], version = "^5.0.0" }
cssselect = ">= 1.0"
diff-match-patch = ">= 20110725.1"
lxml = ">= 4.6.2"
numpy = ">= 1.9.2"
oauth2 = ">=1.9"
pandas = "^1.0.0"
pathlib2 = "^2.0.0"
Paver = ">= 1.2.4"
This is actually an rsmanage dependency. It’s here so that rsmanage can be installed without installing this, which requires Postgres (available only in the container).
pgcli = "^3.0.0"
psycopg2-binary = "^2.0.0"
pylint = ">= 1.2.1"
python = ">= 3.8.5, < 4.0.0"
python-dateutil = ">= 2.4.2"
pytz = ">= 2016.6.1"
requests = ">= 2.10.0"
rsmanage = { path = "./rsmanage", develop = true }
runestone = "^6.1.0"
runestone-docker-tools = { path = "./docker", develop = true }
stripe = "^2.0.0"
six = ">= 1.10.0"
Sphinx = "> 4.1.0"
sphinxcontrib-paverutils = ">= 1.17"
SQLAlchemy = ">= 1.0.14"
pyjwt = "== 2.0.1"
Development dependencies¶
pretextbook = "^0.7.8"
[tool.poetry.dev-dependencies]
black = "~= 22.0"
bookserver = { path = "../BookServer", develop = true }
bookserver-dev = { path = "../bookserver-dev", develop = true }
CodeChat = "^1.0.0"
contextlib2 = "^0.6.0"
coverage = "^6.0.0"
coveralls = "^3.0.0"
flake8 = "^4.0.0"
html5validator = "^0.3.0"
locust = "^1.0.0"
mock = "^4.0.0"
For building the docs with Sphinx.
For the plugin.
Scripts¶
See scripts. This refers to the following files: