Skip to content

Commit

Permalink
build: add pip.txt and version bump (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Zulqarnain authored Apr 27, 2021
1 parent ababfc0 commit 636ae15
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ clean: ## delete generated byte code and coverage reports
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
pip install -q -r requirements/pip_tools.txt
pip-compile --upgrade --allow-unsafe --rebuild -o requirements/pip.txt requirements/pip.in
pip-compile --upgrade -o requirements/pip_tools.txt requirements/pip_tools.in
pip-compile --upgrade -o requirements/base.txt requirements/base.in
pip-compile --upgrade -o requirements/test.txt requirements/test.in

requirements: ## install development environment requirements
pip install -qr requirements/pip.txt
pip install -q -r requirements/pip_tools.txt
pip install -qr requirements/base.txt --exists-action w
pip-sync requirements/base.txt requirements/constraints.txt requirements/test.txt
Expand Down
5 changes: 5 additions & 0 deletions requirements/pip.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Core dependencies for installing other packages

pip
setuptools
wheel
14 changes: 14 additions & 0 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# This file is autogenerated by pip-compile
# To update, run:
#
# make upgrade
#
wheel==0.36.2
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==21.1
# via -r requirements/pip.in
setuptools==56.0.0
# via -r requirements/pip.in
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mccabe==0.6.1
# via pylint
packaging==20.9
# via pytest
pbr==5.5.1
pbr==5.6.0
# via stevedore
pluggy==0.13.1
# via pytest
Expand All @@ -57,7 +57,7 @@ pylint-plugin-utils==0.6
# via
# pylint-celery
# pylint-django
pylint==2.8.1
pylint==2.8.2
# via
# edx-lint
# pylint-celery
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def is_requirement(line):

setup(
name='acid-xblock',
version='0.2',
version='0.2.1',
description='Acid XBlock Test',
long_description=README,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 636ae15

Please sign in to comment.