move to hatch-based build
This commit is contained in:
parent
3499ed8c72
commit
2bb3318801
6 changed files with 50 additions and 50 deletions
|
|
@ -1,2 +0,0 @@
|
|||
include README.md
|
||||
include LICENSE.md
|
||||
1
adze/LICENSE.md
Symbolic link
1
adze/LICENSE.md
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../LICENSE.md
|
||||
1
adze/README.md
Symbolic link
1
adze/README.md
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../README.md
|
||||
|
|
@ -61,3 +61,5 @@ from .boundary import build_polyhedron, boundary_from_poly
|
|||
from .shapes import build_tetrahedron, build_box, planes_from_tetrahedron, planes_from_box
|
||||
from .voxel import voxelize
|
||||
|
||||
__author__ = 'Jan Petykiewicz'
|
||||
__version__ = '0.1'
|
||||
|
|
|
|||
46
pyproject.toml
Normal file
46
pyproject.toml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "adze"
|
||||
description = "Polyhedron clipping and antialiased voxelization"
|
||||
readme = "README.md"
|
||||
license = { file = "LICENSE.md" }
|
||||
authors = [
|
||||
{ name="Jan Petykiewicz", email="jan@mpxd.net" },
|
||||
]
|
||||
homepage = "https://mpxd.net/code/jan/adze"
|
||||
repository = "https://mpxd.net/code/jan/adze"
|
||||
keywords = [
|
||||
"geometry",
|
||||
"geometric",
|
||||
"polyhedron",
|
||||
"voxel",
|
||||
"voxelize",
|
||||
"clip",
|
||||
"clipping",
|
||||
"split",
|
||||
"moment",
|
||||
"schlegel",
|
||||
"3D",
|
||||
"boolean",
|
||||
]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Science/Research",
|
||||
"License :: OSI Approved :: GNU Affero General Public License v3",
|
||||
"Operating System :: OS Independent",
|
||||
"Topic :: Multimedia :: Graphics",
|
||||
"Topic :: Scientific/Engineering",
|
||||
]
|
||||
requires-python = ">=3.8"
|
||||
dynamic = ["version"]
|
||||
dependencies = [
|
||||
"numpy~=1.21",
|
||||
]
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "adze/__init__.py"
|
||||
48
setup.py
48
setup.py
|
|
@ -1,48 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(name='adze',
|
||||
version='0.1',
|
||||
description='Polyhedron clipping and antialiased voxelization',
|
||||
author='Jan Petykiewicz',
|
||||
author_email='jan@mpxd.net',
|
||||
url='https://mpxd.net/code/jan/adze',
|
||||
keywords=[
|
||||
'geometry',
|
||||
'geometric',
|
||||
'polyhedron',
|
||||
'voxel',
|
||||
'voxelize',
|
||||
'clip',
|
||||
'clipping',
|
||||
'split',
|
||||
'moment',
|
||||
'schlegel',
|
||||
'3D',
|
||||
'boolean',
|
||||
],
|
||||
classifiers=[
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Development Status :: 4 - Beta',
|
||||
'Environment :: Other Environment',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Science/Research',
|
||||
'License :: OSI Approved',
|
||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||
'Operating System :: OS Independent',
|
||||
'Topic :: Multimedia :: Graphics',
|
||||
'Topic :: Scientific/Engineering',
|
||||
'Topic :: Scientific/Engineering :: Mathematics',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
packages=find_packages(),
|
||||
install_requires=[
|
||||
'typing',
|
||||
'numpy',
|
||||
],
|
||||
extras_require={
|
||||
},
|
||||
)
|
||||
|
||||
Loading…
Reference in a new issue