Skip to content

Commit

Permalink
Improve the package description and set long_description (#154)
Browse files Browse the repository at this point in the history
The current value of `long_description` should point to `description`. This PR also read the content from README as `long_description`.

Co-authored-by: Harris.Chu <1726587+HarrisChu@users.noreply.github.com>
  • Loading branch information
greyli and HarrisChu authored Oct 21, 2021
1 parent 4507075 commit 6d153f7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,27 @@


from setuptools import setup, find_packages
from pathlib import Path

base_dir = Path(__file__).parent
long_description = (base_dir / 'README.md').read_text()


setup(
name='nebula2-python',
version='2.5.0',
license="Apache 2.0 + Common Clause 1.0",
license='Apache 2.0 + Common Clause 1.0',
author='vesoft-inc',
author_email='info@vesoft.com',
long_description='Python client for Nebula Graph V2.0',
description='Python client for Nebula Graph V2.0',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/vesoft-inc/nebula-python',
install_requires=['httplib2',
'future',
'six',
'pytz'],
packages=find_packages(),
platforms=["3.5, 3.7"],
platforms=['3.5, 3.7'],
package_dir={'nebula2': 'nebula2'},
)

0 comments on commit 6d153f7

Please sign in to comment.