1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-02-17 15:45:32 -05:00

Python: create package

This commit is contained in:
Alex Kotov 2022-01-25 03:02:34 +05:00
parent ed658c04f0
commit 6eb9ad7920
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
6 changed files with 40 additions and 0 deletions

2
pkgs/python/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/dist/
/src/kernaux.egg-info/

6
pkgs/python/README.md Normal file
View file

@ -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.

View file

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

24
pkgs/python/setup.cfg Normal file
View file

@ -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

View file

View file

@ -0,0 +1,2 @@
def add_one(number):
return number + 1