Modernizing installation
This commit is contained in:
parent
5137746f83
commit
80c6d4ee12
5 changed files with 20 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
__pycache__
|
||||
ktools.egg-info
|
||||
py_ktools.egg-info
|
||||
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -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
15
pyproject.toml
Normal 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' }
|
2
setup.py
2
setup.py
|
@ -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
1
src/ktools/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
VERSION = '1.0.2'
|
Loading…
Reference in a new issue