Skip to content

Commit 5e57da1

Browse files
committed
Modify pyproject.toml
1 parent 0af373d commit 5e57da1

1 file changed

Lines changed: 51 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
[build-system]
2+
requires = ["setuptools>=62.0", "setuptools-git-versioning<2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "diffpy.snmf"
7+
dynamic=['version']
8+
authors = [
9+
{ name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" },
10+
]
11+
maintainers = [
12+
{ name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" },
13+
]
14+
description = "A python package implementing the stretched NMF algorithm."
15+
keywords = ['diffpy', 'PDF']
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.urls]
36+
Homepage = "https://github.com/diffpy/diffpy.snmf/"
37+
Issues = "https://github.com/diffpy/diffpy.snmf/issues/"
38+
39+
[tool.setuptools-git-versioning]
40+
enabled = true
41+
template = "{tag}"
42+
dev_template = "{tag}"
43+
dirty_template = "{tag}"
44+
45+
[tool.setuptools.packages.find]
46+
where = ["src"] # list of folders that contain the packages (["."] by default)
47+
include = ["*"] # package names should match these glob patterns (["*"] by default)
48+
exclude = ["diffpy.snmf.tests*"] # exclude packages matching these glob patterns (empty by default)
49+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
50+
151
[tool.black]
252
line-length = 115
353
include = '\.pyi?$'
@@ -19,4 +69,4 @@ exclude = '''
1969
| blib2to3
2070
| tests/data
2171
)/
22-
'''
72+
'''

0 commit comments

Comments
 (0)