Загрузить файлы в «1_hw»

This commit is contained in:
ermakov-ad 2023-09-29 15:09:56 +03:00
parent 2660e0879b
commit c3f91dc1e0
3 changed files with 70 additions and 0 deletions

19
1_hw/LICENSE Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2018 The Python Packaging Authority
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

29
1_hw/README.md Normal file
View File

@ -0,0 +1,29 @@
# 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
>> ...

22
1_hw/pyproject.toml Normal file
View File

@ -0,0 +1,22 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "controls_Ermakov"
version = "0.0.1"
description = "Homework project"
authors = ["Ermakov Alexey <[ermakov.ad@phystech.edu]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
pytest = "^4.6"
Pylint = "^2.0"
MyPy = "^1.2"
[tool.poetry.extras]
docs = ["sphinx"]
extensions = ["sphinx.ext.autodoc"]