|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools", "wheel", "setuptools_scm"] |
3 | 2 | build-backend = "setuptools.build_meta" |
| 3 | +requires = [ |
| 4 | + "setuptools>=64", |
| 5 | + "setuptools_scm>=8", |
| 6 | + "wheel", |
| 7 | +] |
| 8 | + |
| 9 | +[project] |
| 10 | +name = "{{ cookiecutter.project_slug }}" |
| 11 | +description = "{{ cookiecutter.description }}" |
| 12 | +readme = "README.md" |
| 13 | +urls = {Homepage = "{{ cookiecutter.url }}"} |
| 14 | +license = {file = "LICENSE", name="BSD License"} |
| 15 | +authors = [ |
| 16 | + {name="{{ cookiecutter.author }}", email="{{ cookiecutter.author_email }}"}, |
| 17 | +] |
| 18 | +requires-python = ">=3.9" |
| 19 | +classifiers = [ |
| 20 | + "Programming Language :: Python :: 3 :: Only", |
| 21 | + "Programming Language :: Python :: 3.9", |
| 22 | + "Programming Language :: Python :: 3.10", |
| 23 | + "Programming Language :: Python :: 3.11", |
| 24 | + "Programming Language :: Python :: 3.12", |
| 25 | +] |
| 26 | +dynamic = [ |
| 27 | + # see: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata |
| 28 | + "version", # version gets derived from git by setuptools_scm. |
| 29 | +] |
| 30 | +dependencies = [ |
| 31 | + "asdf", |
| 32 | + 'importlib_resources>=3; python_version < "3.9"', |
| 33 | + "weldx", |
| 34 | +] |
| 35 | +[project.optional-dependencies] |
| 36 | +test = [ |
| 37 | + "pytest", |
| 38 | +] |
| 39 | +[project.entry-points."weldx.standard"] |
| 40 | +"{{ cookiecutter.project_slug}}" = "{{ cookiecutter.project_slug }}.integration:get_quality_standard" |
| 41 | + |
| 42 | +[tool.setuptools] |
| 43 | +zip-safe = true |
| 44 | +license-files = ["LICENSE"] |
| 45 | +include-package-data = true |
| 46 | +[tool.setuptools.package-data] |
| 47 | +quality_standard_demo = ["*.yaml", "**/*.yaml", "**/**/*.yaml"] |
| 48 | + |
| 49 | +[tool.setuptools_scm] |
| 50 | +write_to = "src/{{ cookiecutter.project_slug }}/_version.py" |
| 51 | +write_to_template = '__version__ = "{version}"' |
| 52 | + |
| 53 | +[tool.pytest.ini_options] |
| 54 | +asdf_schema_root = "resources/{{ cookiecutter.organization_name }}/schemas" |
| 55 | +asdf_schema_tests_enabled = true |
| 56 | +asdf_schema_ignore_unrecognized_tag = true |
| 57 | +testpaths = [ |
| 58 | + # tests |
| 59 | + "resources", |
| 60 | +] |
0 commit comments