2023-09-29 15:16:33 +03:00
|
|
|
# Test package
|
|
|
|
|
|
|
|
## Sequence of commands for creating a virtual environment:
|
|
|
|
>> mkdir YOUR_PACKAGE_NAME
|
|
|
|
>> cd YOUR_PACKAGE_NAME
|
|
|
|
>> touch __init__.py
|
|
|
|
>> cd ..
|
|
|
|
>> touch pyproject.toml
|
|
|
|
>> open pyproject.toml
|
|
|
|
...
|
|
|
|
>> touch LICENSE
|
|
|
|
>> open LICENSE
|
|
|
|
...
|
|
|
|
>> touch README.md
|
|
|
|
>> open README.md
|
|
|
|
...
|
|
|
|
>> python3 -m build
|
|
|
|
|
|
|
|
## Creating documentation using sphinx:
|
|
|
|
>> mkdir docs
|
|
|
|
>> cd docs
|
|
|
|
>> sphinx-quickstart
|
|
|
|
>> ...
|
|
|
|
>> touch views.py
|
|
|
|
>> open views.py
|
|
|
|
>> ...
|
|
|
|
>> cd source
|
|
|
|
>> open index.rst
|
2023-09-29 15:09:56 +03:00
|
|
|
>> ...
|