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:
parent
ed658c04f0
commit
6eb9ad7920
6 changed files with 40 additions and 0 deletions
2
pkgs/python/.gitignore
vendored
Normal file
2
pkgs/python/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/dist/
|
||||
/src/kernaux.egg-info/
|
6
pkgs/python/README.md
Normal file
6
pkgs/python/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
kernaux
|
||||
=======
|
||||
|
||||
[](https://github.com/tailix/libkernaux/actions/workflows/test.yml)
|
||||
|
||||
Bindings to **libkernaux** - auxiliary library for kernel development.
|
6
pkgs/python/pyproject.toml
Normal file
6
pkgs/python/pyproject.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
[build-system]
|
||||
requires = [
|
||||
"setuptools>=42",
|
||||
"wheel"
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
24
pkgs/python/setup.cfg
Normal file
24
pkgs/python/setup.cfg
Normal 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
|
0
pkgs/python/src/kernaux/__init__.py
Normal file
0
pkgs/python/src/kernaux/__init__.py
Normal file
2
pkgs/python/src/kernaux/example.py
Normal file
2
pkgs/python/src/kernaux/example.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def add_one(number):
|
||||
return number + 1
|
Loading…
Add table
Reference in a new issue