-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dump BBQr to stdout; Makefile release
- Loading branch information
1 parent
0427523
commit 1c89a4b
Showing
6 changed files
with
40 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,6 @@ __pycache__ | |
foo.png | ||
foo*.svg | ||
.DS_Store | ||
.idea | ||
build | ||
dist |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
wheel: | ||
python3 setup.py sdist bdist_wheel | ||
|
||
CUR_VERSION = $(shell python -c "from bbqr.version import __version__; print(__version__)") | ||
|
||
TARGETS = dist/bbqr-$(CUR_VERSION).tar.gz \ | ||
dist/bbqr-$(CUR_VERSION)-py3-none-any.whl | ||
|
||
$(TARGETS) release: wheel | ||
git add $(TARGETS) | ||
git tag -am v$(CUR_VERSION) v$(CUR_VERSION) | ||
twine upload $(TARGETS) | ||
|
||
init: | ||
pip install -r requirements.txt | ||
|
||
test: | ||
py.test tests -x | ||
|
||
.PHONY: init test | ||
.PHONY: init test wheel | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
# | ||
|
||
from setuptools import setup | ||
from bbqr.version import __version__ | ||
|
||
|
||
requirements = [ | ||
'pyqrcode', | ||
|