Skip to content

Commit

Permalink
add CI badge
Browse files Browse the repository at this point in the history
  • Loading branch information
yhtang committed Nov 17, 2021
1 parent 77d5004 commit 5c1602f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# FunFact

[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![PyPI version](https://badge.fury.io/py/funfact.svg)](https://badge.fury.io/py/funfact)
[![CI](https://github.com/yhtang/FunFact/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/yhtang/FunFact/actions/workflows/ci.yml)[![PyPI version](https://badge.fury.io/py/funfact.svg)](https://badge.fury.io/py/funfact)
[![Documentation Status](https://readthedocs.org/projects/funfact/badge/?version=latest)](https://funfact.readthedocs.io/en/latest/?badge=latest)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)


FunFact is a library for computing the *functional factorization* of algebraic
Expand Down
15 changes: 1 addition & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@
__version__ = re.search("__version__ = '(.*)'", fd.read()).group(1)


def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)


long_description = read('README.md')


class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
Expand Down Expand Up @@ -69,7 +56,7 @@ def run_tests(self):
cmdclass={'test': Tox},
author_email='[email protected]',
description='Functional factorization for matrices and tensors',
long_description=long_description,
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
packages=find_packages(exclude='test'),
package_data={'': ['README.md', 'funfact/cpp/*']},
Expand Down

0 comments on commit 5c1602f

Please sign in to comment.