Skip to content

create pyproject.toml to guarantee pypandoc is installed before setup.py executes#2

Open
ddurdik wants to merge 4 commits intojazzycamel:masterfrom
ddurdik:master
Open

create pyproject.toml to guarantee pypandoc is installed before setup.py executes#2
ddurdik wants to merge 4 commits intojazzycamel:masterfrom
ddurdik:master

Conversation

@ddurdik
Copy link
Copy Markdown

@ddurdik ddurdik commented Oct 8, 2019

pip installing directly from master throws an error because setup.py requires pypandoc, but pypandoc hasn't been installed from requirements yet. Putting pypandoc in pyproject.toml guarantees that pypandoc will get installed before setup.py executes.

Sorry for the messy history, please feel free to squash!

ddurdik and others added 4 commits October 8, 2019 11:20
When pip installing directly from master branch, pip runs setup.py install before it installs things from the requirements file. This causes an import error because pypandoc hasn't been installed yet (since it's in requirements). This PR fixes that by deferring the pypandoc import until after it's installed.
pypandoc isn't available on all Linux distros (e.g. alpine), which means pushy doesn't work on those distros. It doesn't seem reasonable to gate usage of pushy on generating nice docs, so I removed pypandoc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant