{"id":24577,"library":"setuptools-markdown","title":"setuptools-markdown","description":"Deprecated library that allowed using Markdown for project descriptions in setuptools. Version 0.4.1 is the last release. It has been replaced by built-in support in setuptools (>=38.6.0) via setup.cfg or pyproject.toml.","status":"deprecated","version":"0.4.1","language":"python","source_language":"en","source_url":"https://github.com/msabramo/setuptools-markdown","tags":["setuptools","markdown","deprecated","legacy"],"install":[{"cmd":"pip install setuptools-markdown","lang":"bash","label":"Install"}],"dependencies":[],"imports":[{"note":"No import needed; it's used via setup() or setup.cfg. Do not import the library.","wrong":"import setuptools_markdown","symbol":"setup","correct":"from setuptools import setup"}],"quickstart":{"code":"from setuptools import setup\n\nsetup(\n    name='my-package',\n    long_description='**Markdown** content',\n    long_description_content_type='text/markdown',\n)\n","lang":"python","description":"Modern way: use setuptools directly with long_description_content_type. No need for setuptools-markdown."},"warnings":[{"fix":"Remove setuptools-markdown dependency and set long_description_content_type='text/markdown' in setup.py, or use setup.cfg/pyproject.toml.","message":"setuptools-markdown has been deprecated. Use setuptools >=38.6.0 built-in Markdown support.","severity":"deprecated","affected_versions":"0.4.1 and all earlier"},{"fix":"Remove any 'import setuptools_markdown' statements.","message":"Do not import setuptools_markdown anywhere in your code. It is automatically discovered via entry points.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to Python 3 and use setuptools' built-in support.","message":"Does not support Python 3. The final release only supports Python 2.","severity":"breaking","affected_versions":"0.4.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Do not import setuptools_markdown. It is a setuptools plugin installed via entry points.","cause":"Attempting to import the library as a module.","error":"ImportError: No module named setuptools_markdown"},{"fix":"Upgrade setuptools: pip install --upgrade setuptools>=38.6.0","cause":"Using an older version of setuptools that does not support long_description_content_type.","error":"error in setup command: 'long_description_content_type' is an invalid keyword argument for this function"},{"fix":"Use setuptools >=38.6.0 and set long_description_content_type='text/markdown' instead.","cause":"Using setuptools-markdown with an unsupported flavor (only 'markdown' or the default). The library expects 'markdown' but setuptools may produce this error.","error":"Unknown markdown flavor: markdown"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}