Make README render properly on PyPI. (#3578)

* Make README render properly in pypi.

* Add small logo

* temporary fix

* smaller image

* Remove image size.

* Add author and email to setup.py.
This commit is contained in:
Robert Nishihara 2018-12-19 18:41:09 -08:00 committed by Philipp Moritz
parent 132a23354e
commit a5309bec7c
3 changed files with 6 additions and 3 deletions

View file

@ -55,6 +55,9 @@ matrix:
# Run Python linting, ignore dict vs {} (C408), others are defaults
- flake8 --exclude=python/ray/core/generated/,doc/source/conf.py,python/ray/cloudpickle/ --ignore=C408,E121,E123,E126,E226,E24,E704,W503,W504,W605
- .travis/format.sh --all
# Make sure that the README is formatted properly.
- cd python
- python setup.py check --restructuredtext --strict --metadata
- os: linux
dist: trusty

View file

@ -1,6 +1,4 @@
.. raw:: html
<a href=http://ray.readthedocs.io/en/latest/index.html><img align="right" width="30%" src="https://github.com/devin-petersohn/ray/raw/docs/update_readme/doc/source/images/ray_logo.png"></a>
.. image:: https://github.com/ray-project/ray/raw/master/doc/source/images/ray_logo.png
.. image:: https://travis-ci.com/ray-project/ray.svg?branch=master
:target: https://travis-ci.com/ray-project/ray

View file

@ -154,6 +154,8 @@ if sys.version_info < (3, 0):
setup(
name="ray",
version=find_version("ray", "__init__.py"),
author="Ray Team",
author_email="ray-dev@googlegroups.com",
description=("A system for parallel and distributed Python that unifies "
"the ML ecosystem."),
long_description=open("../README.rst").read(),