Skip to content

Commit 52961a6

Browse files
authored
Merge pull request #54 from sbillinge/toml
replace setup.py wth pyproject.toml.
2 parents 7306085 + ff4ea5d commit 52961a6

File tree

2 files changed

+45
-127
lines changed

2 files changed

+45
-127
lines changed

pyproject.toml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[build-system]
2+
requires = ["setuptools>=62.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "diffpy.utils"
7+
version = "3.2.7"
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 = "Shared utilities for diffpy packages."
15+
keywords = ["text data parsers", "wx grid", "diffraction objects"]
16+
readme = "README.rst"
17+
requires-python = ">=3.8"
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 :: 2.7',
29+
'Programming Language :: Python :: 3.8',
30+
'Programming Language :: Python :: 3.9',
31+
'Programming Language :: Python :: 3.10',
32+
'Programming Language :: Python :: 3.11',
33+
'Programming Language :: Python :: 3.12',
34+
'Topic :: Scientific/Engineering :: Physics',
35+
]
36+
37+
[project.urls]
38+
Homepage = "https://github.com/diffpy/diffpy.utils/"
39+
Issues = "https://github.com/diffpy/diffpy.utils/issues"
40+
41+
[tool.setuptools.packages.find]
42+
where = ["src"] # list of folders that contain the packages (["."] by default)
43+
include = ["diffpy*"] # package names should match these glob patterns (["*"] by default)
44+
exclude = ["diffpy.utils.tests*"] # exclude packages matching these glob patterns (empty by default)
45+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)

setup.py

-127
This file was deleted.

0 commit comments

Comments
 (0)