Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit b0b25ae

Browse files
authored
Merge pull request #1980 from bjones1/poetry-fix
Clean: Remove unused poetry-fix script, clean up docs.
2 parents 56f280e + 7ab0951 commit b0b25ae

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

pyproject.toml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22
# |docname| - Poetry configuration
33
# ********************************
44
# See the `Poetry docs <https://python-poetry.org/docs/dependency-specification/>`_ to get an understanding of
5-
# how poetry does specifies dependencies.
5+
# how poetry specifies dependencies.
66
#
7-
# **Important**: Before running ``poetry install`` or ``poetry update``, run ``poetry-fix`` so that development dependencies will be installed correctly. See `runestone_poetry_project/poetry_fix.py`. Since this script isn't installed until the first run of ``poetry install``, run the script after the install then run ``poetry update`` again.
7+
# **Important**: This program performs automated edits to the ``pyproject.toml`` files for this project and all its subprojects (such as the BookServer and the Runestone Components) specified by `path dependencies <https://python-poetry.org/docs/dependency-specification/#path-dependencies>`_. Therefore, you **must** run ``python runestone/poetry_fix.py`` after making any changes to this file or any ``pyproject.toml`` `path dependencies`_ to keep these files up to date.
8+
#
9+
# .. toctree::
10+
# :maxdepth: 2
11+
#
12+
# runestone_poetry_project/__init__.py
13+
# runestone_poetry_project/poetry_fix.py
814
#
915
#
1016
# Project metadata
@@ -79,19 +85,6 @@ runestone-dev = { path = "../runestone-dev", develop = true }
7985
selenium = "^3.0.0"
8086

8187

82-
# Scripts
83-
# =======
84-
# See `scripts <https://python-poetry.org/docs/pyproject/#scripts>`_. This refers to the following files:
85-
#
86-
# .. toctree::
87-
#
88-
# runestone_poetry_project/__init__.py
89-
# runestone_poetry_project/poetry_fix.py
90-
#
91-
[tool.poetry.scripts]
92-
poetry-fix = "runestone_poetry_project.poetry_fix:main"
93-
94-
9588
# Poetry backend
9689
# ==============
9790
[build-system]

0 commit comments

Comments
 (0)