Skip to content
Snippets Groups Projects
Commit 7660bebe authored by Lloyd Carothers's avatar Lloyd Carothers
Browse files

Add entry ms_sum. Add dep pyqt5. Add requres py3.

parent 76b206e2
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,10 @@ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif ...@@ -12,6 +12,10 @@ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
# Custom # Custom
# include qt ui files # include qt ui files
recursive-include * *.ui recursive-include nexus *.ui
# inculde SOH resps for PIC pool
recursive-include nexus/etc *
#recursive-include * *.png #recursive-include * *.png
#recursive-include * *.qrc #recursive-include * *.qrc
...@@ -9,10 +9,10 @@ import os, sys ...@@ -9,10 +9,10 @@ import os, sys
from obspy.io.mseed.core import _is_mseed from obspy.io.mseed.core import _is_mseed
from obspy.io.mseed import util from obspy.io.mseed import util
from obspyImproved import InventoryIm from .obspyImproved import InventoryIm
if __name__ == '__main__': def main():
inv = InventoryIm() inv = InventoryIm()
for path in sys.argv[1:]: for path in sys.argv[1:]:
if os.path.isfile(path) and _is_mseed(path): if os.path.isfile(path) and _is_mseed(path):
...@@ -23,8 +23,7 @@ if __name__ == '__main__': ...@@ -23,8 +23,7 @@ if __name__ == '__main__':
inv.add_from_record_info(rec) inv.add_from_record_info(rec)
elif os.path.isdir(path): elif os.path.isdir(path):
inv.scan_quick(path,log_message=lambda x:None) inv.scan_quick(path,log_message=lambda x:None)
if False: pass
inv.print_sum() inv.print_sum()
if False: pass if __name__ == '__main__':
main()
...@@ -26,11 +26,14 @@ setup( ...@@ -26,11 +26,14 @@ setup(
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'nexus=nexus.nexus:main', 'nexus=nexus.nexus:main',
'ms_sum=nexus.ms_sum:main',
], ],
}, },
install_requires=[ install_requires=[
'obspy', 'obspy',
'pyqt5>=5.6',
], ],
python_requires='>=3',
setup_requires = [], setup_requires = [],
extras_require={ extras_require={
'dev': [ 'dev': [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment