Skip to content

Support docs building/upload without invoking setup.py #619

Closed
@jaraco

Description

@jaraco

In order to wean ourselves off of an assumption of setuptools and build on the emergent PEP 517 and 518 behavior, I'm seeking to avoid invoking setup.py at all in a process to build and upload docs to devpi from a tagged commit in CI.

I see in #388 and #546, I and others have encountered this issue before.

The comments in #546 imply that it should be possible for a routine to build the docs and then upload them.

I've got a routine that does this in a tox env:

	python -m sphinx docs html
	python -m zipfile -c dist/docs.zip html/*
	devpi use {env:TWINE_REPOSITORY_URL}
	devpi upload --only-docs dist/docs.zip

But it fails on the last line with

docs.zip: does not contain PKGINFO, skipping

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions