update docs and examples for pyproject

setup.py -> pyproject.toml
venv -> .venv
This commit is contained in:
David Lord 2023-01-18 10:21:37 -08:00
parent 6d6d986fc5
commit 8f13f5b6d6
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
24 changed files with 153 additions and 195 deletions

View file

@ -85,7 +85,7 @@ environments.
Create an environment
~~~~~~~~~~~~~~~~~~~~~
Create a project folder and a :file:`venv` folder within:
Create a project folder and a :file:`.venv` folder within:
.. tabs::
@ -95,7 +95,7 @@ Create a project folder and a :file:`venv` folder within:
$ mkdir myproject
$ cd myproject
$ python3 -m venv venv
$ python3 -m venv .venv
.. group-tab:: Windows
@ -103,7 +103,7 @@ Create a project folder and a :file:`venv` folder within:
> mkdir myproject
> cd myproject
> py -3 -m venv venv
> py -3 -m venv .venv
.. _install-activate-env:
@ -119,13 +119,13 @@ Before you work on your project, activate the corresponding environment:
.. code-block:: text
$ . venv/bin/activate
$ . .venv/bin/activate
.. group-tab:: Windows
.. code-block:: text
> venv\Scripts\activate
> .venv\Scripts\activate
Your shell prompt will change to show the name of the activated
environment.