Skip to content

Commit ecd4e26

Browse files
authored
Fix README... (#65)
Fix README...
2 parents c4b4b46 + 8913167 commit ecd4e26

File tree

4 files changed

+19
-26
lines changed

4 files changed

+19
-26
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ script:
5151
pushd /tmp && pytest -n 2 -rxs --cov=oceans tests && popd ;
5252
fi
5353

54+
- if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
55+
pip wheel . -w dist --no-deps ;
56+
check-manifest --verbose ;
57+
twine check dist/* ;
58+
fi
59+
5460
- if [[ $TRAVIS_JOB_NAME == doctests ]]; then
5561
pytest -vv oceans --doctest-modules ;
5662
fi

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[![PyPI Package](https://img.shields.io/pypi/v/oceans.svg)](https://pypi.org/project/oceans/) [![Travis Build Status](https://travis-ci.org/pyoceans/python-oceans.svg?branch=master)](https://travis-ci.org/pyoceans/python-oceans) [![DOI](https://zenodo.org/badge/11956337.svg)](https://zenodo.org/badge/latestdoi/11956337)
2+
3+
# Python Oceans
4+
5+
Misc helper functions for ocean sciences.
6+
7+
Most of the functions here are Python versions of some common MatlabTM functions.
8+
They are untested and probably buggy. Use with caution!

README.rst

Lines changed: 0 additions & 21 deletions
This file was deleted.

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ def read(*parts):
1616
maintainer = "Filipe Fernandes"
1717
authors = [u"André Palóczy", "Arnaldo Russo", "Filipe Fernandes"]
1818

19-
LICENSE = read("LICENSE.txt")
20-
long_description = "{}\n{}".format(read("README.rst"), read("CHANGES.txt"))
21-
2219
# Dependencies.
2320
hard = ["gsw", "matplotlib", "numpy", "seawater"]
2421
soft = {"full": ["cartopy", "iris", "netcdf4", "pandas", "scipy"]}
@@ -29,8 +26,9 @@ def read(*parts):
2926
cmdclass=versioneer.get_cmdclass(),
3027
packages=find_packages(),
3128
package_data={"oceans": ["colormaps/cmap_data/*.dat"]},
32-
license=LICENSE,
33-
long_description=long_description,
29+
license="BSD-3-Clause",
30+
long_description=f'{read("README.md")}',
31+
long_description_content_type="text/markdown",
3432
classifiers=[
3533
"Development Status :: 4 - Beta",
3634
"Environment :: Console",
@@ -45,6 +43,7 @@ def read(*parts):
4543
"Programming Language :: Python :: 3 :: Only",
4644
"Programming Language :: Python :: 3.6",
4745
"Programming Language :: Python :: 3.7",
46+
"Programming Language :: Python :: 3.8",
4847
],
4948
description="Misc functions for oceanographic data analysis",
5049
author=authors,
@@ -56,5 +55,6 @@ def read(*parts):
5655
keywords=["oceanography", "data analysis"],
5756
extras_require=soft,
5857
install_requires=hard,
58+
python_requires='>=3.6',
5959
tests_require=["pytest"],
6060
)

0 commit comments

Comments
 (0)