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
5 changed files
with
63 additions
and
46 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
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,29 +1,30 @@ | ||
language: python | ||
fast_finish: true | ||
|
||
python: | ||
- 3.6 | ||
- 3.7-dev | ||
|
||
os: | ||
- linux | ||
|
||
sudo: required | ||
dist: xenial | ||
group: travis_latest | ||
|
||
git: | ||
depth: 3 | ||
quiet: true | ||
|
||
python: | ||
- 3.6 | ||
- 3.7 | ||
|
||
os: | ||
- linux | ||
|
||
|
||
install: pip install -e .[tests] | ||
|
||
script: | ||
- pytest -sv | ||
- flake8 | ||
- mypy . --ignore-missing-imports | ||
script: | ||
- pytest -rsv | ||
- flake8 | ||
- mypy . --ignore-missing-imports | ||
|
||
after_success: | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then | ||
pytest --cov; | ||
coveralls; | ||
fi | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,66 @@ | ||
[metadata] | ||
name = maidenhead | ||
version = 1.1.6 | ||
description = Maidenhead Locator, Lat Lon coordinate convertor | ||
author = Michael Hirsch; Henri Kuiper | ||
description = Maidenhead Locator, Lat Lon coordinate convertor | ||
url = https://github.com/scivision/maidenhead | ||
keywords = | ||
keywords = | ||
location | ||
maidenhead | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
Environment :: Console | ||
Operating System :: OS Independent | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Topic :: Scientific/Engineering :: GIS | ||
license_file = LICENSE | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
license_file = LICENSE | ||
scripts = Maidenhead.py | ||
|
||
[options] | ||
python_requires = >= 3.6 | ||
setup_requires = | ||
setuptools >= 38.6 | ||
pip >= 10 | ||
twine >= 1.11 | ||
include_package_data = True | ||
packages = find: | ||
install_requires = | ||
|
||
[options.extras_require] | ||
tests = | ||
tests = | ||
pytest | ||
pytest-cov | ||
coveralls | ||
flake8 | ||
mypy | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
Maidenhead = Maidenhead:main | ||
|
||
[flake8] | ||
max-line-length = 132 | ||
exclude = .git,__pycache__,doc/,docs/,build/,dist/,archive/ | ||
exclude = .git,__pycache__,.eggs/,doc/,docs/,build/,dist/,archive/ | ||
|
||
[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,4 +1,3 @@ | ||
#!/usr/bin/env python | ||
from setuptools import setup | ||
|
||
setup(python_requires='>=3.6') | ||
setup() |