-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zenodo-doi' into 'master'
Zenodo doi See merge request psmsmets/xcorr!3
- Loading branch information
Showing
5 changed files
with
91 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Pieter Smets | ||
Shahar Shani-Kadmiel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include CHANGELOG.rst README.rst | ||
include CONTRIBUTORS LICENSE | ||
include MANIFEST.in | ||
include pyproject.toml | ||
include xcorr/version.py | ||
|
||
global-exclude __pycache__ | ||
global-exclude *.py[cod] | ||
global-exclude *.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=45", | ||
"setuptools_scm>=6.2", | ||
"wheel", | ||
] | ||
build-backend = 'setuptools.build_meta' | ||
|
||
[tool.setuptools_scm] | ||
write_to = "xcorr/version.py" | ||
git_describe_command = "git describe --dirty --tags --long --match v* --first-parent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[metadata] | ||
name = xcorr | ||
description = Correlate timeseries in a self-describing N-D labelled dataset | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst; charset = UTF-8 | ||
url = https://gitlab.com/psmsmets/xcorr | ||
author = Pieter Smets | ||
author_email = | ||
maintainer = Pieter Smets | ||
maintainer_email = [email protected] | ||
license = 'GNU General Public License v3 (GPLv3)' | ||
license_file = LICENSE | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Science/Research | ||
Intended Audience :: Education | ||
License :: OSI Approved :: GNU General Public License v3 (GPLv3) | ||
Natural Language :: English | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Topic :: Education | ||
Topic :: Scientific/Engineering | ||
Topic :: Scientific/Engineering :: Information Analysis | ||
Topic :: Scientific/Engineering :: Physics | ||
keywords = xcorr, correlation, cross-correlation, signal-processing, timeseries, waveforms, obspy, xarray | ||
project_urls = | ||
Source = https://gitlab.com/psmsmets/xcorr.git | ||
Tracker = https://gitlab.com/psmsmets/xcorr/issues | ||
|
||
[options] | ||
zip_safe = False | ||
packages = find: | ||
platforms = any | ||
include_package_data = True | ||
python_requires = >=3.7 | ||
install_requires = | ||
numpy>=1.18 | ||
scipy>=1.0 | ||
obspy>=1.2 | ||
xarray>=0.16 | ||
pandas>=1.0 | ||
pyproj>=2.0 | ||
pywavelets>=1.0 | ||
tabulate>=0.8 | ||
tables>=3.2.3 | ||
setup_requires = | ||
setuptools_scm | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
xcorr-snr = xcorr.scripts.snr:main | ||
xcorr-plmax = xcorr.scripts.plmax:main | ||
xcorr-psd = xcorr.scripts.psd:main | ||
xcorr-ct=xcorr.scripts.ct:main | ||
xcorr-timelapse = xcorr.scripts.timelapse:main | ||
xcorr-beamform = xcorr.scripts.beamform:main | ||
xcorr-swresp = xcorr.scripts.swresp:main | ||
|
||
[bdist_wheel] | ||
universal = true | ||
|
||
[flake8] | ||
per-file-ignores = __init__.py: F401, F403, F821 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
import os | ||
import re | ||
from setuptools import setup, find_namespace_packages | ||
#!/usr/bin/env python | ||
import setuptools | ||
|
||
# Get README and remove badges. | ||
README = open('README.rst').read() | ||
README = re.sub('----.*marker', '----', README, flags=re.DOTALL) | ||
|
||
DESCRIPTION = 'Correlate timeseries in a self-describing N-D labelled dataset' | ||
|
||
NAME = 'xcorr' | ||
|
||
setup( | ||
name=NAME, | ||
python_requires='>=3.7.0', | ||
description=DESCRIPTION, | ||
long_description=README, | ||
author='Pieter Smets', | ||
author_email='[email protected]', | ||
url='https://gitlab.com/psmsmets/xcorr', | ||
download_url='https://gitlab.com/psmsmets/xcorr.git', | ||
license='GNU General Public License v3 (GPLv3)', | ||
packages=find_namespace_packages(include=['xcorr.*']), | ||
keywords=[ | ||
'xcorr', 'correlation', 'cross-correlation', 'signal-processing', | ||
'timeseries', 'waveforms', 'obspy', 'xarray' | ||
], | ||
entry_points={ | ||
'console_scripts': [ | ||
f'{NAME}-snr=xcorr.scripts.snr:main', | ||
f'{NAME}-plmax=xcorr.scripts.plmax:main', | ||
f'{NAME}-psd=xcorr.scripts.psd:main', | ||
f'{NAME}-ct=xcorr.scripts.ct:main', | ||
f'{NAME}-timelapse=xcorr.scripts.timelapse:main', | ||
f'{NAME}-beamform=xcorr.scripts.beamform:main', | ||
f'{NAME}-swresp=xcorr.scripts.swresp:main', | ||
], | ||
}, | ||
scripts=[], | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Science/Research', | ||
'Intended Audience :: Developers', | ||
('License :: OSI Approved :: ' | ||
'GNU General Public License v3 (GPLv3)'), | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
], | ||
install_requires=[ | ||
'numpy>=1.18', | ||
'scipy>=1.0', | ||
'obspy>=1.2', | ||
'xarray>=0.16', | ||
'pandas>=1.0', | ||
'pyproj>=2.0', | ||
'pywavelets>=1.0', | ||
'tabulate>=0.8', | ||
'tables>=3.2.3', | ||
], | ||
use_scm_version={ | ||
'root': '.', | ||
'relative_to': __file__, | ||
'write_to': os.path.join('xcorr', 'version.py'), | ||
}, | ||
setup_requires=['setuptools_scm'], | ||
) | ||
if __name__ == "__main__": | ||
setuptools.setup() |