backstage / mkdocs-techdocs-core

The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
Apache License 2.0
82 stars 61 forks source link

publish requirements.txt to root of pypi tarball #167

Closed nickboldt closed 3 months ago

nickboldt commented 5 months ago

We consume backstage/mkdocs-techdocs-core via some ancient tooling that uses source tarball's requirements.txt files to recursively discover pip dependencies.

Unfortunately, it can't find the requirements.txt under mkdocs_techdocs_core.egg-info/ and so craps itself.

Would it be possible to publish a source tarball that's actually taken from your github sources, rather than derived? Or to include a requirements.txt in the root of the tarball?

Also noticed that you're using python 3.7 to build; maybe a newer version is better as it includes more metadatain the PKG-INFO fie?

Building with Python 3.10 vs. the tarball fetched from PyPI:

image