create working template
This commit is contained in:
parent
0c767d2a62
commit
d50a4d1eb0
5 changed files with 31 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.venv/*
|
||||
poetry.lock
|
||||
__pycache__/
|
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"terminal.integrated.enablePersistentSessions": true,
|
||||
"python.terminal.activateEnvInCurrentTerminal": true,
|
||||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
|
||||
}
|
16
pyproject.toml
Normal file
16
pyproject.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
[tool.poetry]
|
||||
name = "python-project-template"
|
||||
version = "0.1.0"
|
||||
description = "template project for pyenv+poetry"
|
||||
authors = ["Kaz Saita(raspi4) <saita@kinoshita-lab.org>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
package-mode = false
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
0
python-project-template/__init__.py
Normal file
0
python-project-template/__init__.py
Normal file
7
python-project-template/__main__.py
Normal file
7
python-project-template/__main__.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# !/usr/bin/env python3
|
||||
|
||||
def main():
|
||||
print("Hello World!")
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in a new issue