Skip to content

Commit

Permalink
Fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jan 27, 2018
1 parent 2b42c0a commit 41183a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTHON_PATH := $(shell which python)
PLATFORM := $(shell uname -s | awk '{print tolower($$0)}')
DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
PYTHON_VERSION := $(shell python3 -c "import sys; print('py%s%s' % sys.version_info[0:2] + ('-conda' if 'conda' in sys.version or 'Continuum' in sys.version else ''))")
PREFIX=""
PREFIX=
ifndef GIT_BRANCH
GIT_BRANCH=$(shell git branch | sed -n '/\* /s///p')
endif
Expand Down Expand Up @@ -97,10 +97,12 @@ upload:
ifeq ($(GIT_BRANCH),develop)
@echo "INFO: Upload package to testpypi.python.org"
$(PREFIX)python setup.py check --restructuredtext --strict
$(PREFIX)python setup.py sdist bdist_wheel upload -r https://testpypi.python.org/pypi
$(PREFIX)python setup.py sdist bdist_wheel
$(PREFIX)twine upload dist/*
endif
ifeq ($(GIT_BRANCH),master)
@echo "INFO: Upload package to pypi.python.org"
$(PREFIX)python setup.py check --restructuredtext --strict
$(PREFIX)python setup.py sdist bdist_wheel upload
$(PREFIX)python setup.py sdist bdist_wheel
$(PREFIX)twine upload dist/*
endif
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Feeling impatient? I like your style.
Installation
~~~~~~~~~~~~
------------

Download and install using ``pip install jira`` or ``easy_install jira``

Expand All @@ -74,15 +74,15 @@ installation using ``pip install jira[opt,cli,testing]``


Usage
~~~~~
-----

See the documentation_ for full details.

.. _documentation: http://jira.readthedocs.org/en/latest/


Development
~~~~~~~~~~~
-----------

Development takes place on GitHub_, where the git-flow_ branch structure is used:

Expand Down

0 comments on commit 41183a0

Please sign in to comment.