Skip to content

Commit 5e910ae

Browse files
committed
try new pyproject.toml
1 parent 7eb33a7 commit 5e910ae

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

Diff for: pyproject.toml

+56
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
[build-system]
2+
requires = ["setuptools>=62.0", "setuptools-git-versioning<2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "diffpy.pdfgui"
7+
dynamic=['version']
8+
authors = [
9+
{ name="Simon J.L. Billinge group", email="[email protected]" },
10+
]
11+
maintainers = [
12+
{ name="Simon J.L. Billinge group", email="[email protected]" },
13+
]
14+
description = "Tools"
15+
keywords = ['diffpy', 'pdf', 'pair distribution function']
16+
readme = "README.rst"
17+
requires-python = ">=3.10"
18+
classifiers = [
19+
'Development Status :: 5 - Production/Stable',
20+
'Environment :: Console',
21+
'Intended Audience :: Developers',
22+
'Intended Audience :: Science/Research',
23+
'License :: OSI Approved :: BSD License',
24+
'Operating System :: MacOS :: MacOS X',
25+
'Operating System :: Microsoft :: Windows',
26+
'Operating System :: POSIX',
27+
'Operating System :: Unix',
28+
'Programming Language :: Python :: 3.10',
29+
'Programming Language :: Python :: 3.11',
30+
'Programming Language :: Python :: 3.12',
31+
'Topic :: Scientific/Engineering :: Physics',
32+
'Topic :: Scientific/Engineering :: Chemistry',
33+
]
34+
35+
[project.scripts]
36+
pdfmorph = "diffpy.pdfgui.applications.pdfgui:main"
37+
38+
[project.urls]
39+
Homepage = "https://github.com/diffpy/diffpy.pdfgui/"
40+
Issues = "https://github.com/diffpy/diffpy.pdfgui/issues"
41+
42+
[tool.pytest.ini_options]
43+
pythonpath = ["src"]
44+
45+
[tool.setuptools-git-versioning]
46+
enabled = true
47+
template = "{tag}"
48+
dev_template = "{tag}"
49+
dirty_template = "{tag}"
50+
51+
[tool.setuptools.packages.find]
52+
where = ["src"] # list of folders that contain the packages (["."] by default)
53+
include = ["*"] # package names should match these glob patterns (["*"] by default)
54+
exclude = ["diffpy.pdfgui.tests*"] # exclude packages matching these glob patterns (empty by default)
55+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
56+
157
[tool.black]
258
line-length = 115
359
include = '\.pyi?$'

0 commit comments

Comments
 (0)