Skip to content

Commit c1bfa76

Browse files
committed
add app sripts, fix python version, small updates
anyeye
1 parent bb6acf3 commit c1bfa76

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ maintainers = [
1414
description = "Crystal structure container and parsers for structure formats."
1515
keywords = ['diffpy', 'crystal structure data storage CIF PDB']
1616
readme = "README.rst"
17-
requires-python = ">=3.10"
17+
requires-python = ">=3.10, < 3.13"
1818
classifiers = [
1919
'Development Status :: 5 - Production/Stable',
2020
'Environment :: Console',
@@ -36,6 +36,9 @@ classifiers = [
3636
Homepage = "https://github.com/diffpy/diffpy.structure/"
3737
Issues = "https://github.com/diffpy/diffpy.structure/issues/"
3838

39+
[project.scripts]
40+
transtru = "diffpy.structure.apps.transtru:main"
41+
3942
[tool.setuptools-git-versioning]
4043
enabled = true
4144
template = "{tag}"

src/diffpy/structure/apps/anyeye.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def main():
265265
spawnargs = (pd["viewer"], pd["viewer"], pd["tmpfile"], env)
266266
# load strufile in atomeye
267267
if pd["watch"]:
268-
signal.signal(signal.SIGCLD, signalHandler)
268+
signal.signal(signal.SIGCHLD, signalHandler)
269269
os.spawnlpe(os.P_NOWAIT, *spawnargs)
270270
watchStructureFile(pd)
271271
else:

0 commit comments

Comments
 (0)