Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Commit

Permalink
Fix python 3.4 compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NyanKiyoshi committed Sep 17, 2018
1 parent 3170afc commit 193cf5e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 490 deletions.
19 changes: 6 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,21 @@ test-verbose:
test-coverage:
pipenv run py.test -v --cov $(MODULE) --cov-report term-missing

dists: requirements sdist bdist wheels
dists: sdist bdist wheels

requirements:
pipenv run pipenv_to_requirements -f

release: requirements

sdist: requirements
sdist:
pipenv run python setup.py sdist

bdist: requirements
bdist:
pipenv run python setup.py bdist

wheels: requirements
wheels:
pipenv run python setup.py bdist_wheel

pypi-publish: build release
pypi-publish: build
pipenv run twine upload --repository pypi dist/*.whl

pypi-test-publish: build release
pypi-test-publish: build
pipenv run twine upload --repository testpypi dist/*.whl

update:
Expand All @@ -92,8 +87,6 @@ push: githook
clean:
pipenv --rm

prepare-release: requirements

# aliases to gracefully handle typos on poor dev's terminal
check: checks
devel: dev
Expand Down
24 changes: 7 additions & 17 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,14 @@ verify_ssl = true
name = "pypi"

[packages]
flask = "*"
flask-wtf = "*"
flask-babel = "*"
keyboard = "*"
six = "*"
"flask-bootstrap-4-alpha" = "*"
keyboard = ">=0.13,<0.14"
six = ">=1.8.0"
"flask-bootstrap-4-alpha" = "==4.0.0b3.dev2"
Flask = "==1.0.2"
Flask-WTF = "==0.14.2"
Flask-Babel = "==0.11.2"

[dev-packages]
pytest = "*"
pipenv-to-requirements = "*"
coverage = "*"
blinker = "*"
flask-debugtoolbar = "*"
mock = "*"
requests = "*"

[requires]
python_version = "3"

[pipenv]
allow_prereleases = true
python_version = "3.7"
Loading

0 comments on commit 193cf5e

Please sign in to comment.