Skip to content

Commit

Permalink
Merge pull request #58 from EliLillyCo/hotfix/setup_bugs
Browse files Browse the repository at this point in the history
hotfix release 1.1 as 1.1.1
  • Loading branch information
michaeltneylon authored Sep 27, 2019
2 parents 7742be8 + a531406 commit 6331ac3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ before_script:
- export CROMWELL_JAR=/tmp/cromwell-45.jar
script:
- make test
- make test_release_setup
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## v1.1.1 (2019.09.27)

* Fixes `license` entry in `setup.py` for proper rendering to release to PyPI.

## v1.1 (2019.09.26)

* Add ability to create executor plugins
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ tests = tests
pytestopts = -s -vv --show-capture=all
#pytestopts = -s -vv --show-capture=all -m "not integration"

all: clean install install_extras test
all: clean install install_extras install_development_requirements test test_release_setup

install: clean
python setup.py bdist_wheel
pip install --upgrade dist/*.whl $(installargs)

install_development_requirements:
pip install -r requirements.txt

install_extras:
pip install .[all]

Expand All @@ -21,6 +24,9 @@ test:
coverage report -m
coverage xml

test_release_setup:
twine check dist/*

lint:
flake8 $(package)

Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ pysam
pytest>=5.1
pytest-subtests
subby>=0.1.6
xphyle>=4.1.2
xphyle>=4.1.2
readme_renderer>=24.0
twine>=2.0.0
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@
"rb",
"utf-8"
).read(),
license=codecs.open(
os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"LICENSE"
),
"rb",
"utf-8"
).read(),
license="Apache License 2.0",
use_scm_version=True,
setup_requires=["setuptools_scm"],
entry_points={
Expand Down

0 comments on commit 6331ac3

Please sign in to comment.