Skip to content

Commit

Permalink
Add README.md into pypi long description
Browse files Browse the repository at this point in the history
  • Loading branch information
iosonofabio committed Apr 26, 2020
1 parent c212bbc commit 0d6d4b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
[![ReleaseVersion](https://img.shields.io/pypi/v/northstar?color=limegreen)](https://pypi.org/project/northstar/)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fiosonofabio%2Fnorthstar.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fiosonofabio%2Fnorthstar?ref=badge_shield)
[![Documentation Status](https://readthedocs.org/projects/northstar/badge/?version=latest)](https://northstar.readthedocs.io/en/latest/?badge=latest)
<!--
[![Coverage Status](https://coveralls.io/repos/github/iosonofabio/northstar/badge.svg?branch=master)](https://coveralls.io/github/iosonofabio/northstar?branch=master)
-->

![Logo](docs/_static/logo.png)
# northstar
Expand Down
2 changes: 1 addition & 1 deletion northstar/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.3.0"
version = "0.3.1"
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, fname)) as f:
out = f.read()
return out

Expand All @@ -14,6 +15,10 @@ def update_version():
return ver


def get_readme():
return read('README.md')


setup(
name="northstar",
version=update_version(),
Expand All @@ -24,11 +29,8 @@ def update_version():
keywords="graph semi-supervised",
url="https://github.com/northstaratlas/northstar",
packages=['northstar'] + ['northstar.' + s for s in find_packages(where='northstar')],
long_description='''
Cell type annotation guided by cell atlases, with freedom to be queer.
See https://github.com/northstaratlas/northstar for the project's website.
''',
long_description=get_readme(),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
Expand Down

0 comments on commit 0d6d4b1

Please sign in to comment.