Skip to content

Commit cf2bd31

Browse files
authored
Update setup.py and pypi long description (#87)
* Update setup.py and requirements * Add long description for pypi package * Use README.md as the long description * Use single quote
1 parent 93a31af commit cf2bd31

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ RUN apt-get -q update && \
1616

1717
# Install python
1818
RUN python setup.py -q install
19-
RUN pip3 install --upgrade requests
2019

2120
# Run the tests
2221
RUN ./build.sh

setup.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515
"""Install datacommons."""
1616
from setuptools import setup
1717

18+
with open('README.md', 'r') as fh:
19+
long_description = fh.read()
20+
1821
# Package metadata.
1922
NAME = 'datacommons'
20-
DESCRIPTION = 'A library to access Data Commons API.'
21-
URL = 'https://github.com/google/datacommons'
22-
EMAIL = 'datacommons@google.com'
23+
DESCRIPTION = 'A library to access Data Commons Python Client API.'
24+
URL = 'https://github.com/datacommonsorg/api-python'
25+
EMAIL = 'support@datacommons.org'
2326
AUTHOR = 'datacommons.org'
2427
REQUIRES_PYTHON = '>=3.6.0'
2528
VERSION = '1.0.0'
@@ -41,6 +44,8 @@
4144
name=NAME,
4245
version=VERSION,
4346
description=DESCRIPTION,
47+
long_description=long_description,
48+
long_description_content_type='text/markdown',
4449
author=AUTHOR,
4550
author_email=EMAIL,
4651
maintainer=AUTHOR,

0 commit comments

Comments
 (0)