Skip to content

Commit 6c22b60

Browse files
authored
Merge pull request #112 from Tieqiong/toml
add app scripts, fix python version, small updates on anyeye
2 parents bb6acf3 + 6b4a018 commit 6c22b60

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

Diff for: news/toml.rst

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* Added termial script for transtru app in pyproject.toml
20+
* Changed requires-python to align with classifiers
21+
22+
**Security:**
23+
24+
* <news item>

Diff for: pyproject.toml

+4-1
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}"

Diff for: src/diffpy/structure/apps/anyeye.py

+1-1
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)