Skip to content

Commit

Permalink
Drop coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas committed Apr 16, 2021
1 parent 6717bd1 commit 611e31f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 35 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ matrix:

install:
- travis_retry pip install pep8==1.7.0
- travis_retry pip install python-coveralls
- travis_retry pip install -e .
- travis_retry pip install $DJANGO --upgrade
script:
- coverage run --source=stream_django setup.py test
- setup.py test
after_script:
# ensure we validate against pep standards
- "pep8 --exclude=migrations --ignore=E501,E225,W293 stream"
after_success:
- coveralls
- 'pep8 --exclude=migrations --ignore=E501,E225,W293 stream'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Stream Django
[![Build Status](https://travis-ci.org/GetStream/stream-django.svg?branch=master)](https://travis-ci.org/GetStream/stream-django) [![Coverage Status](https://coveralls.io/repos/github/GetStream/stream-django/badge.svg?branch=master)](https://coveralls.io/github/GetStream/stream-django?branch=master) [![PyPI version](https://badge.fury.io/py/stream-django.svg)](http://badge.fury.io/py/stream-django)
[![Build Status](https://travis-ci.org/GetStream/stream-django.svg?branch=master)](https://travis-ci.org/GetStream/stream-django) [![PyPI version](https://badge.fury.io/py/stream-django.svg)](http://badge.fury.io/py/stream-django)

[stream-django](https://github.com/GetStream/stream-django) is a Django client for [Stream](https://getstream.io/), it supports Django from 1.5 up to and including 2.2 using Python 2.7 and 3.4, 3.5, 3.6 and 3.7.

Expand Down
54 changes: 25 additions & 29 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,46 @@
from setuptools import setup


with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme:
README = readme.read()

if sys.version_info < (3, 0, 0):
django = 'django>=1.11.29,<2.0'
django = "django>=1.11.29,<2.0"
else:
django = 'django>=2.0,<3.2' # checked https://docs.djangoproject.com/en/dev/releases/3.1/#backwards-incompatible-3-1
django = "django>=2.0,<3.2" # checked https://docs.djangoproject.com/en/dev/releases/3.1/#backwards-incompatible-3-1

requirements = [
django,
'stream-python>=3.0.1',
'pytz'
]
requirements = [django, "stream-python>=3.0.1", "pytz"]

extras_require = {
'test': ['httpretty==0.9.5', 'coverage'],
"test": ["httpretty==0.9.5"],
}

setup(
name='stream-django',
version='1.6.2',
packages=['stream_django'],
name="stream-django",
version="1.6.2",
packages=["stream_django"],
include_package_data=True,
install_requires=requirements,
extras_require=extras_require,
tests_require=['stream_django[test]'],
test_suite='runtests.runtests',
license='BSD License',
description='A Django app to build activity, news and notification feeds.',
tests_require=["stream_django[test]"],
test_suite="runtests.runtests",
license="BSD License",
description="A Django app to build activity, news and notification feeds.",
long_description_content_type="text/markdown",
long_description=README,
url='https://getstream.io/',
author='Tommaso Barbugli',
author_email='tbarbugli@gmail.com',
url="https://getstream.io/",
author="Tommaso Barbugli",
author_email="tbarbugli@gmail.com",
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
)

0 comments on commit 611e31f

Please sign in to comment.