Skip to content

add app scripts, fix python version, small updates on anyeye #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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