diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0d9bfc9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[tool.poetry] +name = "loggingplus" +version = "0.1.0" +description = "Personal logging utils library" +authors = ["VarSamLewis"] +readme = "README.md" +packages = [{include = "loggingplus", from = "src"}] + +[tool.poetry.dependencies] +python = "^3.8" + +[tool.poetry.group.dev.dependencies] +pytest = "^7.0.0" + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/src/loggingplus/__init__.py b/src/loggingplus/__init__.py new file mode 100644 index 0000000..40bc5cb --- /dev/null +++ b/src/loggingplus/__init__.py @@ -0,0 +1,3 @@ +"""LoggingPlus - Personal logging utils library.""" + +__version__ = "0.1.0" diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..36d423d --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1 @@ +"""Tests for LoggingPlus.""" diff --git a/tests/test_version.py b/tests/test_version.py new file mode 100644 index 0000000..59f5389 --- /dev/null +++ b/tests/test_version.py @@ -0,0 +1,8 @@ +"""Test version information.""" + +from loggingplus import __version__ + + +def test_version(): + """Test that version is defined.""" + assert __version__ == "0.1.0"