Skip to content

Commit

Permalink
Merge branch '412-modern-python-packaging' into 'development'
Browse files Browse the repository at this point in the history
modern python build via pyproject.toml only

Closes #412

See merge request damask/DAMASK!1005
  • Loading branch information
dmentock committed Dec 18, 2024
2 parents 1b3b81d + d63af52 commit 38908fa
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 29 deletions.
53 changes: 52 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,57 @@
[project]
name = 'damask'
description = 'Pre- and post-processing tools for DAMASK'
keywords = ['crystal plasticity', 'materials science', 'materials engineering']

authors = [
{name = 'The DAMASK Team', email = '[email protected]'}
]

classifiers = [
'Intended Audience :: Science/Research',
'Intended Audience :: Manufacturing',
'Intended Audience :: Education',
'Topic :: Scientific/Engineering',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3 :: Only',
'Typing :: Typed',
]

requires-python = '>=3.10'
dependencies = [
'pandas>=1.3',
'numpy>=1.21',
'scipy>=1.8',
'h5py>=3.6',
'vtk>=9.1',
'matplotlib>=3.5',
'pyyaml>=5.3',
]

readme = 'Readme.md'
dynamic = ['version']

[project.urls]
homepage = 'https://damask-multiphysics.org'
documentation = 'https://damask-multiphysics.org/documentation'
download = 'https://damask-multiphysics.org/download'
repository = 'https://github.com/damask-multiphysics/DAMASK'


[build-system]
requires = ['setuptools >= 40.6.0', 'wheel']
requires = ['setuptools >= 59.0']
build-backend = 'setuptools.build_meta'

[tool.setuptools.dynamic]
version = {file = ['damask/VERSION']}

[tool.pytest.ini_options]
doctest_optionflags = 'NUMBER NORMALIZE_WHITESPACE ELLIPSIS'
28 changes: 0 additions & 28 deletions python/setup.cfg

This file was deleted.

0 comments on commit 38908fa

Please sign in to comment.