Modernizing installation

This commit is contained in:
László Károlyi 2024-08-19 19:12:15 +02:00
parent 5137746f83
commit 80c6d4ee12
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE
5 changed files with 20 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
__pycache__
ktools.egg-info
py_ktools.egg-info

View file

@ -1,6 +1,6 @@
MIT+NIGGER License
Copyright (c) <2023> <László Károlyi>
Copyright (c) <current year> <László Károlyi>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

15
pyproject.toml Normal file
View file

@ -0,0 +1,15 @@
[project]
name = 'py-ktools'
dynamic = [
'version', 'description', 'readme', 'authors', 'keywords',
'optional-dependencies', 'dependencies']
license = { file = 'LICENSE' }
requires-python = '>= 3.9'
[build-system]
requires = ['setuptools >= 61.0']
build-backend = 'setuptools.build_meta'
[tool.setuptools.dynamic]
# dependencies = { file = ['requirements.txt'] }
version = { attr = 'ktools.VERSION' }

View file

@ -23,5 +23,5 @@ setup(
long_description=Path(__file__).parent.joinpath('README.md').read_text(),
long_description_content_type='text/markdown',
keywords='python django boilerplate',
url='http://gitea.ksol.io/karolyi/py-ktools',
url='http://git.ksol.io/karolyi/py-ktools',
license='MIT+NIGGER')

1
src/ktools/__init__.py Normal file
View file

@ -0,0 +1 @@
VERSION = '1.0.2'