Skip to content

Commit

Permalink
Use the README as the package description
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdawson committed Aug 21, 2018
1 parent aa6243c commit d25a534
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Build and install the windspharm package."""
# Copyright (c) 2012-2016 Andrew Dawson
# Copyright (c) 2012-2018 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,6 +18,8 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
import os.path

from setuptools import setup
import versioneer

Expand All @@ -29,18 +31,18 @@
'windspharm.examples': ['example_data/*'],
'windspharm.tests': ['data/regular/*.npy', 'data/gaussian/*.npy']}

with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
long_description = f.read()

setup(name='windspharm',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='vector wind analysis in spherical coordinates',
author='Andrew Dawson',
author_email='[email protected]',
url='http://ajdawson.github.com/windspharm/',
long_description="""
windspharm provides a simple interface for doing calculations on
vector wind fields (e.g., computing streamfunction) in spherical
geometry using spherical harmonics
""",
long_description=long_description,
long_description_content_type='text/markdown',
packages=packages,
package_data=package_data,
install_requires=['numpy', 'pyspharm >= 1.0.8'],)

0 comments on commit d25a534

Please sign in to comment.