1
0
forked from Georg/pyacl

Compare commits

...

4 Commits

Author SHA1 Message Date
96b0b640cb
fix: 🐞 dynamic version system for older python and setuptools
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-22 02:09:55 +03:00
d22b176521
feat: introduce __version__ has been added
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-22 01:25:46 +03:00
c6496c68f9
feat: dev deps added into pyproject.toml
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-22 01:18:44 +03:00
328652d59e
feat: replace hatchling to setuptools can be packaged easily at distros
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-22 01:08:50 +03:00
4 changed files with 48 additions and 8 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
dist
venv
__pycache__
.venv
env
*.egg-info

View File

@ -7,3 +7,5 @@ You may not use this work except in compliance with the Licence.
An English copy of the Licence is shipped in a file called LICENSE along with this applications source code.
You may obtain copies of the Licence in any of the official languages at https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12.
"""
from .__version__ import __version__

1
pyacl/__version__.py Normal file
View File

@ -0,0 +1 @@
__version__ = "0.0.1"

View File

@ -1,20 +1,54 @@
[build-system]
requires = [
'hatchling',
]
build-backend = 'hatchling.build'
requires = ["setuptools>=64", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = 'pyacl'
description = 'High level abstractions over pylibacl'
version = '0.0.1'
dynamic = ["version", "readme"]
authors = [
{ name='Georg Pfuetzenreuter', email='georg+python@lysergic.dev' },
]
readme = 'README.md'
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Typing :: Typed",
"Operating System :: POSIX :: Linux",
]
requires-python = '>=3.6'
[tool.hatch.build.targets.pyacl]
dependencies = [
'pylibacl',
'pylibacl==0.5.4',
]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
"PyYAML"
]
[tool.setuptools]
include-package-data = true # include non-python files in the package (default)
[tool.setuptools.dynamic]
version = {attr = "pyacl.__version__"}
readme = {file = ["README.md"]}
[tool.setuptools.packages.find]
where = ["."]
exclude = ["scripts", "scripts.*", "docs.*", "tests", "tests.*", "ruff.toml"]