Heres is my setup
setup(
name="`...",
version="...",
description=...,
long_description_content_type="text/markdown",
long_description=README,
author="...",
classifiers=[...],
packages=["..."],
include_package_data=True,
)
I used the following command to package my project
python setup.py sdist bdist_wheel
but when I run
twine check dist/*
I get the following error
Checking dist\Futshane_TBG-1.0.0-py3-none-any.whl: FAILED
`long_description` has syntax errors in markup and would not be rendered on PyPI.
line 9: Error: Unexpected indentation.
warning: `long_description_content_type` missing. defaulting to `text/x-rst`.
Checking dist\Futshane_TBG-1.0.0.tar.gz: FAILED
`long_description` has syntax errors in markup and would not be rendered on PyPI.
line 9: Error: Unexpected indentation.
warning: `long_description_content_type` missing. defaulting to `text/x-rst`.
Why is it failing to identify the type provided, when I've obviously provided one?
build
anddist
directories and retry. – Spermicidesetuptools
,twine
andwheel
you're using? Also, can you include the import statement forsetup
? – Cellulosic