forked from Georg/pyacl
Merge pull request 'feat: replace hatchling to setuptools can be packaged easily at distros' (#1) from osezer/pyacl:feat/setuptools into main
Reviewed-on: Georg/pyacl#1
This commit is contained in:
commit
1336676b33
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
dist
|
dist
|
||||||
venv
|
venv
|
||||||
__pycache__
|
__pycache__
|
||||||
|
.venv
|
||||||
|
env
|
||||||
|
*.egg-info
|
||||||
|
@ -7,3 +7,11 @@ 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.
|
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.
|
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.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import importlib.metadata as importlib_metadata
|
||||||
|
|
||||||
|
try:
|
||||||
|
# This will read version from pyproject.toml
|
||||||
|
__version__ = importlib_metadata.version(__package__ or __name__)
|
||||||
|
except importlib_metadata.PackageNotFoundError:
|
||||||
|
__version__ = "development"
|
||||||
|
@ -1,20 +1,50 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = ["setuptools", "setuptools-scm", "wheel"]
|
||||||
'hatchling',
|
build-backend = "setuptools.build_meta"
|
||||||
]
|
|
||||||
build-backend = 'hatchling.build'
|
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = 'pyacl'
|
name = 'pyacl'
|
||||||
description = 'High level abstractions over pylibacl'
|
description = 'High level abstractions over pylibacl'
|
||||||
version = '0.0.1'
|
version = '0.0.1'
|
||||||
|
readme = "README.md"
|
||||||
authors = [
|
authors = [
|
||||||
{ name='Georg Pfuetzenreuter', email='georg+python@lysergic.dev' },
|
{ 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'
|
requires-python = '>=3.6'
|
||||||
|
|
||||||
[tool.hatch.build.targets.pyacl]
|
|
||||||
dependencies = [
|
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.packages.find]
|
||||||
|
where = ["."]
|
||||||
|
exclude = ["scripts", "scripts.*", "docs.*", "tests", "tests.*", "ruff.toml"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user