This repository was archived by the owner on Feb 19, 2026. It is now read-only.
Repository navigation
Use requirements.txt as source of truth for requirements in setup.py - #153
Merged
Merged
Conversation
Previously, this repo had two sets of requirements: one in `requirements.txt` that we'd use when building the project via `make`, and one in `setup.py` that we'd use if installing it as a depenency via pip. This has been causing problems for self-hosters, so let's have `setup.py` just read the list of requirements out of `requirements.txt` and avoid needing to keep two lists of requirements in sync. (The logic here is copied directly from the tokenserver `setup.py`, and I've taken the opportunity to copy over some other `Makefile` tweaks while I'm here).
rfk
force-pushed
the
setup_py_read_requirements_file
branch
from
September 8, 2020 03:04
51cacd7 to
fa931eb
Compare
|
@rfk I guess once this is merged, mozilla-services/syncserver@69b89fd can be reverted since |
jrconlin
approved these changes
Dec 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, this repo had two sets of requirements: one in
requirements.txtthat we'd use when building the project via
make, and one insetup.pythat we'd use if installing it as a depenency via pip.
This has been causing problems for self-hosters, so let's have
setup.pyjust read the list of requirements out of
requirements.txtand avoidneeding to keep two lists of requirements in sync.
(The logic here is copied directly from the tokenserver
setup.py,and I've taken the opportunity to copy over some other
Makefiletweakswhile I'm here).