Giter Site home page Giter Site logo

Comments (5)

hartwork avatar hartwork commented on July 17, 2024 1

Hi!

There is two pieces to this: (1) marking the description as markdown and (2) requiring recent enough setuptools in setup_requires. (1) is already done at

long_description_content_type='text/markdown',

Looking at colorlog's PyPI page today, (2) seems to no longer be a problem in practice, probably because the person who uploaded used recent enough setuptools. For a clean fix, I suggest to apply something like https://github.com/hartwork/surrogates/blob/ad2991d5e628d3c66eeb51e9c6bf5b3f11b11596/setup.py#L21-L23 nevertheless to have a stable full fix.

What do you think?

from python-colorlog.

borntyping avatar borntyping commented on July 17, 2024

I've noticed this but not really sure what the problem is. With other projects I have, the setup.py metadata describing the file as markdown works and it renders correctly: https://github.com/borntyping/python-colorlog/blob/master/setup.py#L8-L9

from python-colorlog.

wolph avatar wolph commented on July 17, 2024

It might be related to the packages in your environment: https://packaging.python.org/guides/making-a-pypi-friendly-readme/#including-your-readme-in-your-package-s-metadata

Try: python3 -m pip install --user --upgrade setuptools wheel twine

from python-colorlog.

GhostofGoes avatar GhostofGoes commented on July 17, 2024

setuptools has to be at least version 38.6, so upgrading the packages in your environment then pushing should fix the formatting.

from python-colorlog.

borntyping avatar borntyping commented on July 17, 2024

Updated and released as version 4.2.1. Thanks for the help all!

https://github.com/borntyping/python-colorlog/releases/tag/v4.2.1
c06583f

from python-colorlog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.