Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 9ca12be

Browse files
committed
chore: Add Poetry as new build manager
Poetry is now used as the build manager for the project. It controls dependencies and installs (kept controlled with a .lock file) and builds a venv automatically stored in .venv directory. Pyenv is necessary for installing specific versions of python, which then uses .python-version locally to run the right version.
1 parent a2050d8 commit 9ca12be

3 files changed

Lines changed: 38 additions & 0 deletions

File tree

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.7.4

poetry.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[tool.poetry]
2+
name = "conventional-commit"
3+
version = "0.0.4"
4+
description = "a tool for writing conventional commits, conveniently"
5+
authors = ["nebbles"]
6+
readme = "README.md"
7+
homepage = "https://github.com/nebbles/gitcommit"
8+
classifiers=[ # https://pypi.org/classifiers/
9+
"Environment :: Console",
10+
"Intended Audience :: Developers",
11+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
12+
"Natural Language :: English",
13+
"Operating System :: OS Independent",
14+
"Topic :: Utilities",
15+
]
16+
packages = [
17+
{ include = "gitcommit" },
18+
]
19+
20+
[tool.poetry.scripts]
21+
gitcommit = 'gitcommit.gitcommit:main'
22+
23+
[tool.poetry.dependencies]
24+
python = "^3.6"
25+
26+
[tool.poetry.dev-dependencies]
27+
28+
[build-system]
29+
requires = ["poetry>=0.12"]
30+
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)