-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.5.2 - allow display README.md on PyPi
- Loading branch information
1 parent
c6d55b7
commit 56555d1
Showing
2 changed files
with
9 additions
and
1 deletion.
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 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 |
---|---|---|
|
@@ -9,15 +9,23 @@ | |
# does it submit to any jurisdiction. | ||
# | ||
|
||
import io | ||
import os.path | ||
from setuptools import setup, find_packages | ||
|
||
import ecmwfapi | ||
|
||
|
||
def read(fname): | ||
file_path = os.path.join(os.path.dirname(__file__), fname) | ||
return io.open(file_path, encoding='utf-8').read() | ||
|
||
setup( | ||
name="ecmwf-api-client", | ||
version=ecmwfapi.__version__, | ||
description=ecmwfapi.__doc__, | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
author="ECMWF", | ||
author_email="[email protected]", | ||
url="https://github.com/ecmwf/ecmwf-api-client", | ||
|