Skip to content

Commit 0c17ba2

Browse files
authored
Merge pull request #4 from sbillinge/toml
toml
2 parents 868954f + 276b47a commit 0c17ba2

File tree

3 files changed

+91
-109
lines changed

3 files changed

+91
-109
lines changed

pyproject.toml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
[build-system]
2+
requires = ["setuptools>=62.0", "setuptools-git-versioning>=2.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "diffpy.distanceprinter"
7+
dynamic=['version', 'dependencies']
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 = "Distance Printer, calculate the inter atomic distances. Part of xPDFsuite"
15+
keywords = ['diffpy', 'pdf', 'data interpretation']
16+
readme = "README.rst"
17+
requires-python = ">=3.11, <3.14"
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.11',
29+
'Programming Language :: Python :: 3.12',
30+
'Programming Language :: Python :: 3.13',
31+
'Topic :: Scientific/Engineering :: Physics',
32+
'Topic :: Scientific/Engineering :: Chemistry',
33+
]
34+
35+
[project.scripts]
36+
distanceprinter = 'DistancePrinter.distanceprinter:main'
37+
38+
[project.urls]
39+
Homepage = "https://github.com/diffpy/diffpy.distanceprinter/"
40+
Issues = "https://github.com/diffpy/diffpy.distanceprinter/issues/"
41+
42+
[tool.setuptools-git-versioning]
43+
enabled = true
44+
template = "{tag}"
45+
dev_template = "{tag}"
46+
dirty_template = "{tag}"
47+
48+
[tool.setuptools.packages.find]
49+
where = ["DistancePrinter"] # list of folders that contain the packages (["."] by default)
50+
include = ["*"] # package names should match these glob patterns (["*"] by default)
51+
exclude = [] # exclude packages matching these glob patterns (empty by default)
52+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
53+
54+
[tool.setuptools.dynamic]
55+
dependencies = {file = ["requirements/pip.txt"]}
56+
57+
[tool.codespell]
58+
exclude-file = ".codespell/ignore_lines.txt"
59+
ignore-words = ".codespell/ignore_words.txt"
60+
skip = "*.cif,*.dat,*agr"
61+
62+
[tool.docformatter]
63+
recursive = true
64+
wrap-summaries = 72
65+
wrap-descriptions = 72
66+
67+
[tool.black]
68+
line-length = 79
69+
include = '\.pyi?$'
70+
exclude = '''
71+
/(
72+
\.git
73+
| \.hg
74+
| \.mypy_cache
75+
| \.tox
76+
| \.venv
77+
| \.rst
78+
| \.txt
79+
| _build
80+
| buck-out
81+
| build
82+
| dist
83+
84+
# The following are specific to Black, you probably don't want those.
85+
| blib2to3
86+
| tests/data
87+
)/
88+
'''

requirements/pip.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
numpy
2+
diffpy.pdffit2
3+
diffpy.structure

setup.py

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)