Skip to content

Commit

Permalink
Add README.md to pypi.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 246037982
  • Loading branch information
brianwa84 authored and tensorflower-gardener committed Apr 30, 2019
1 parent d3cc6fd commit 8bf2f95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sh_binary(
name = "pip_pkg",
srcs = ["pip_pkg.sh"],
data = [
"README.md",
"setup.py",
"//tensorflow_probability",
],
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,16 @@ class BinaryDistribution(Distribution):
def has_ext_modules(self):
return False

with open('README.md', 'r') as fh:
long_description = fh.read()

setup(
name=project_name,
version=__version__,
description='Probabilistic modeling and statistical '
'inference in TensorFlow',
long_description=long_description,
long_description_content_type='text/markdown',
author='Google LLC',
author_email='[email protected]',
url='http://github.com/tensorflow/probability',
Expand Down

0 comments on commit 8bf2f95

Please sign in to comment.