Skip to content

Commit

Permalink
Merge pull request #112 from Tieqiong/toml
Browse files Browse the repository at this point in the history
add app scripts, fix python version, small updates on anyeye
  • Loading branch information
sbillinge authored Oct 24, 2024
2 parents bb6acf3 + 6b4a018 commit 6c22b60
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
24 changes: 24 additions & 0 deletions news/toml.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* Added termial script for transtru app in pyproject.toml
* Changed requires-python to align with classifiers

**Security:**

* <news item>
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ maintainers = [
description = "Crystal structure container and parsers for structure formats."
keywords = ['diffpy', 'crystal structure data storage CIF PDB']
readme = "README.rst"
requires-python = ">=3.10"
requires-python = ">=3.10, <3.13"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
Expand All @@ -36,6 +36,9 @@ classifiers = [
Homepage = "https://github.com/diffpy/diffpy.structure/"
Issues = "https://github.com/diffpy/diffpy.structure/issues/"

[project.scripts]
transtru = "diffpy.structure.apps.transtru:main"

[tool.setuptools-git-versioning]
enabled = true
template = "{tag}"
Expand Down
2 changes: 1 addition & 1 deletion src/diffpy/structure/apps/anyeye.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def main():
spawnargs = (pd["viewer"], pd["viewer"], pd["tmpfile"], env)
# load strufile in atomeye
if pd["watch"]:
signal.signal(signal.SIGCLD, signalHandler)
signal.signal(signal.SIGCHLD, signalHandler)
os.spawnlpe(os.P_NOWAIT, *spawnargs)
watchStructureFile(pd)
else:
Expand Down

0 comments on commit 6c22b60

Please sign in to comment.