From be5b9d6e7b25dc5e978e3f926f0882889417c4a8 Mon Sep 17 00:00:00 2001 From: Simeon Bird Date: Fri, 19 May 2023 15:43:08 -0700 Subject: [PATCH] My previous chatgpt generated packaging fix was not correct! --- .github/workflows/python-publish.yml | 2 -- setup.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 23d20e5..fa73343 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -86,8 +86,6 @@ jobs: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} packages-dir: dist/ - long-description: | - Code for generating artificial spectra for cosmological simulation codes. TestMacWheel: name: Test the published macos wheel diff --git a/setup.py b/setup.py index 91c3400..d516367 100644 --- a/setup.py +++ b/setup.py @@ -108,6 +108,8 @@ def check_for_openmp(compiler): # cmdclass = {'build_ext': build_ext_subclass }, url="http://github.com/sbird/fake_spectra", description="Analysis tools for generating artificial spectra from simulations.", + long_description="Analysis tools for generating artificial spectra for SPH or meshless cosmological simulation codes, including AREPO, Gadget, SIMBA, etc", + long_description_content_type = "text/plain", packages = ['fake_spectra', 'fake_spectra.tests', 'fake_spectra.cloudy_tables'], requires=['numpy', 'h5py','scipy'], package_data = {