diff --git a/pkgs/python/.gitignore b/pkgs/python/.gitignore new file mode 100644 index 0000000..f6a85b8 --- /dev/null +++ b/pkgs/python/.gitignore @@ -0,0 +1,2 @@ +/dist/ +/src/kernaux.egg-info/ diff --git a/pkgs/python/README.md b/pkgs/python/README.md new file mode 100644 index 0000000..d84ff9d --- /dev/null +++ b/pkgs/python/README.md @@ -0,0 +1,6 @@ +kernaux +======= + +[![Test](https://github.com/tailix/libkernaux/actions/workflows/test.yml/badge.svg)](https://github.com/tailix/libkernaux/actions/workflows/test.yml) + +Bindings to **libkernaux** - auxiliary library for kernel development. diff --git a/pkgs/python/pyproject.toml b/pkgs/python/pyproject.toml new file mode 100644 index 0000000..374b58c --- /dev/null +++ b/pkgs/python/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" diff --git a/pkgs/python/setup.cfg b/pkgs/python/setup.cfg new file mode 100644 index 0000000..41e7a04 --- /dev/null +++ b/pkgs/python/setup.cfg @@ -0,0 +1,24 @@ +[metadata] +name = kernaux +version = 0.0.0 +author = Alex Kotov +author_email = kotovalexarian@gmail.com +description = Bindings to libkernaux - auxiliary library for kernel development +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/tailix/libkernaux +project_urls = + Bug Tracker = https://github.com/tailix/libkernaux/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: POSIX + +[options] +package_dir = + = src +packages = find: +python_requires = >=3.8 + +[options.packages.find] +where = src diff --git a/pkgs/python/src/kernaux/__init__.py b/pkgs/python/src/kernaux/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pkgs/python/src/kernaux/example.py b/pkgs/python/src/kernaux/example.py new file mode 100644 index 0000000..c929f88 --- /dev/null +++ b/pkgs/python/src/kernaux/example.py @@ -0,0 +1,2 @@ +def add_one(number): + return number + 1