Skip to content

Commit 84f2c09

Browse files
committed
Refactor src and switch to pyproject.toml
1 parent c3f394a commit 84f2c09

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+48
-66
lines changed

pyproject.toml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
[build-system]
2+
requires = ["setuptools>=62.0", "setuptools-git-versioning<2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "diffpy.pdfmorph"
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 = "Tools for manipulating and comparing PDF profiles."
15+
keywords = ["diffpy PDF"]
16+
readme = "README.rst"
17+
requires-python = ">=3.10"
18+
classifiers = [
19+
'Development Status :: 4 - Beta',
20+
'Environment :: Console',
21+
'Intended Audience :: Science/Research',
22+
'License :: OSI Approved :: BSD License',
23+
'Operating System :: MacOS :: MacOS X',
24+
'Operating System :: Microsoft :: Windows',
25+
'Operating System :: POSIX',
26+
'Operating System :: Unix',
27+
'Programming Language :: Python :: 3.10',
28+
'Programming Language :: Python :: 3.11',
29+
'Programming Language :: Python :: 3.12',
30+
'Topic :: Scientific/Engineering :: Chemistry',
31+
'Topic :: Scientific/Engineering :: Physics',
32+
]
33+
34+
[project.urls]
35+
Homepage = "https://github.com/diffpy/diffpy.pdfmorph/"
36+
Issues = "https://github.com/diffpy/diffpy.pdfmorph/issues"
37+
38+
[tool.setuptools-git-versioning]
39+
enabled = true
40+
template = "{tag}"
41+
dev_template = "{tag}"
42+
dirty_template = "{tag}"
43+
44+
[tool.setuptools.packages.find]
45+
where = ["src"] # list of folders that contain the packages (["."] by default)
46+
include = ["diffpy*"] # package names should match these glob patterns (["*"] by default)
47+
exclude = ["diffpy.pdfmorph.tests*"] # exclude packages matching these glob patterns (empty by default)
48+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)

setup.py

Lines changed: 0 additions & 66 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)