Skip to content

Commit

Permalink
Refactor setup.py to work with pip 10 (#34)
Browse files Browse the repository at this point in the history
* Refactor setup.py to work with pip 10
Warning: Not backwards compatible with older pip versions !

* Bump version number
  • Loading branch information
JonasSteur authored Apr 16, 2018
1 parent cd33b1e commit 2626731
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ matrix:
- env: DJANGO='>=2.0,<2.1'
python: "2.7.13"
install:
- pip install --upgrade pip
- pip install -e .
- pip install -r requirements/requirements_test.txt
- pip install "Django${DJANGO}"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
from pip.req import parse_requirements
from pip.download import PipSession
from pip._internal.req.req_file import parse_requirements
from pip._internal.download import PipSession

from os import path
from smsgateway import __version__
Expand Down
2 changes: 1 addition & 1 deletion smsgateway/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import absolute_import
__version__ = '2.1.13'
__version__ = '2.1.14'


def get_account(using=None):
Expand Down

0 comments on commit 2626731

Please sign in to comment.