Skip to content

Commit

Permalink
Remove references to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Mar 5, 2022
1 parent 674730f commit 58edefd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include *.md LICENSE requirements*.txt config-sample.json
include *.md LICENSE config-sample.json
exclude config.json TODO.md

graft src
Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,3 @@ dist: clean docs
$(PYTHON) setup.py sdist
$(PYTHON) setup.py bdist_wheel
ls -l dist

update-reqs: requirements-dev.txt
@$(GREP) --invert-match --no-filename '^#' requirements*.txt | \
$(SED) 's|==.*$$||g' | \
xargs ./.venv/bin/python -m pip install --upgrade; \
for reqfile in requirements*.txt; do \
echo "Updating $${reqfile}..."; \
./.venv/bin/python -c 'print("\n{:#^80}".format(" Updated reqs below "))' >> "$${reqfile}"; \
for lib in $$(./.venv/bin/pip freeze --all --isolated --quiet | $(GREP) '=='); do \
if $(GREP) "^$${lib%%=*}" "$${reqfile}" >/dev/null; then \
echo "$${lib}" >> "$${reqfile}"; \
fi; \
done; \
done;
16 changes: 0 additions & 16 deletions requirements-dev.txt

This file was deleted.

0 comments on commit 58edefd

Please sign in to comment.