Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
126 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,30 +1,34 @@ | ||
language: python | ||
fast_finish: true | ||
|
||
python: | ||
- 3.6 | ||
|
||
os: | ||
- linux | ||
|
||
|
||
env: FC=gfortran | ||
|
||
sudo: required | ||
dist: xenial | ||
group: travis_latest | ||
|
||
|
||
git: | ||
depth: 3 | ||
quiet: true | ||
|
||
python: | ||
- 3.6 | ||
- 3.7 | ||
|
||
os: | ||
- linux | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- gfortran | ||
|
||
- gfortran | ||
|
||
install: python -m pip install -e .[tests] | ||
install: pip install -e .[tests] | ||
|
||
script: coverage run tests/test_all.py -v | ||
script: | ||
- pytest -rsv | ||
- flake8 | ||
- mypy . --ignore-missing-imports | ||
|
||
after_success: coveralls | ||
after_success: | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3.6* ]]; then | ||
pytest --cov --cov-config=setup.cfg; | ||
coveralls; | ||
fi | ||
|
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
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
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,7 +1,73 @@ | ||
[metadata] | ||
name = grwave | ||
version = 0.1.1 | ||
author = Michael Hirsch, Ph.D. | ||
description = Groundwave per ITU P.368 10 kHz - 30 MHz | ||
url = https://github.com/scivision/grwave | ||
keywords = | ||
groundwave | ||
longwave radio | ||
HF radio | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
Environment :: Console | ||
Intended Audience :: Science/Research | ||
Operating System :: OS Independent | ||
Programming Language :: Fortran | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Topic :: Scientific/Engineering :: Atmospheric Science | ||
license_file = LICENSE | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
|
||
[options] | ||
python_requires = >= 3.6 | ||
setup_requires = | ||
setuptools >= 38.6 | ||
pip >= 10 | ||
twine >= 1.11 | ||
include_package_data = True | ||
packages = find: | ||
install_requires = | ||
numpy | ||
pandas | ||
|
||
[options.extras_require] | ||
tests = | ||
pytest | ||
pytest-cov | ||
coveralls | ||
flake8 | ||
mypy | ||
plot = | ||
matplotlib | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
|
||
|
||
[flake8] | ||
max-line-length = 132 | ||
exclude = .git,__pycache__,doc/,docs/,build/,dist/,archive/ | ||
exclude = .git,__pycache__,.eggs/,doc/,docs/,build/,dist/,archive/ | ||
|
||
[metadata] | ||
description-file = README.md | ||
[coverage:run] | ||
cover_pylib = false | ||
omit = | ||
/home/travis/virtualenv/* | ||
*/site-packages/* | ||
*/bin/* | ||
|
||
[coverage:report] | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
except RuntimeError | ||
except NotImplementedError | ||
except ImportError | ||
except FileNotFoundError | ||
except CalledProcessError | ||
logging.warning | ||
logging.error | ||
logging.critical | ||
if __name__ == .__main__.: |
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,27 +1,6 @@ | ||
#!/usr/bin/env python | ||
import subprocess | ||
from setuptools import setup, find_packages | ||
install_requires = ['numpy', 'pandas'] | ||
tests_require = ['pytest', 'pytest-cov', 'coveralls', 'flake8', 'mypy'] | ||
from setuptools import setup | ||
setup() | ||
|
||
|
||
setup(name='pygrwave', | ||
packages=find_packages(), | ||
description='Groundwave per ITU P.368 10 kHz - 30 MHz', | ||
long_description=open('README.md').read(), | ||
long_description_content_type="text/markdown", | ||
version='0.1.1', | ||
url='https://github.com/scivision/python-grwave', | ||
classifiers=[ | ||
'Intended Audience :: Science/Research', | ||
'Development Status :: 3 - Alpha', | ||
'Programming Language :: Python :: 3', ], | ||
install_requires=install_requires, | ||
tests_require=tests_require, | ||
extras_require={'tests': tests_require, | ||
'plot': ['matplotlib', 'seaborn', ], | ||
'io': ['folium', ]}, | ||
python_requires='>=3.6', | ||
) | ||
|
||
subprocess.check_call(['gfortran', 'fortran/grwave.for', '-o', 'grwave']) | ||
subprocess.check_call(['gfortran', 'fortran/grwave.for', '-o', 'grwave.exe']) |
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