Skip to content

Commit

Permalink
add long description on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-superonion committed Sep 9, 2023
1 parent 5f31b39 commit 63c7f8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
@@ -1,7 +1,8 @@
# `FPFS`: Fourier Power Function Shaplets (A fast, accurate shear estimator)
----
[![tests](https://github.com/mr-superonion/FPFS/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/mr-superonion/FPFS/actions/workflows/tests.yml)
[![docs](https://readthedocs.org/projects/fpfs/badge/?version=latest)](https://fpfs.readthedocs.io/en/latest/?badge=latest)
[![tests](https://github.com/mr-superonion/FPFS/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/mr-superonion/FPFS/actions/workflows/tests.yml)
[![pypi](https://github.com/mr-superonion/FPFS/actions/workflows/pypi.yml/badge.svg)](https://pypi.org/project/fpfs/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Expand Down
10 changes: 6 additions & 4 deletions setup.py
@@ -1,13 +1,13 @@
import os
from setuptools import setup, find_packages

# version of the package

this_dir = os.path.dirname(os.path.realpath(__file__))
__version__ = ""
fname = os.path.join(
os.path.dirname(os.path.realpath(__file__)), "fpfs", "__version__.py"
)
fname = os.path.join(this_dir, "fpfs", "__version__.py")
with open(fname, "r") as ff:
exec(ff.read())
long_description = open(os.path.join(this_dir, "README.md")).read()


scripts = [
Expand Down Expand Up @@ -41,4 +41,6 @@
include_package_data=True,
zip_safe=False,
url="https://github.com/mr-superonion/FPFS/",
long_description=long_description,
long_description_content_type="text/markdown",
)

0 comments on commit 63c7f8f

Please sign in to comment.