Skip to content

Commit

Permalink
Merge pull request #16 from nschloe/modernize
Browse files Browse the repository at this point in the history
Modernize
  • Loading branch information
nschloe authored Jul 3, 2020
2 parents 2364f4d + 6092c5a commit 4fa0e04
Show file tree
Hide file tree
Showing 10 changed files with 698 additions and 75 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: no
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,14 @@ jobs:
steps:
- uses: actions/setup-python@v1
with:
python-version: "3.x"
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- name: Install dependencies
- name: Install system dependencies
run: sudo apt-get install -y libeigen3-dev
- name: Install package
run: |
pip install .[all]
pip install -r test_requirements.txt
- name: Test with pytest
- name: Test with tox
run: |
pip install pytest pytest-cov
pytest --cov accupy
# - name: Submit to codecov
# run: bash <(curl -s https://codecov.io/bash) -R ~/work
pip install tox
tox
- name: Submit to codecov
if: ${{ matrix.python-version == '3.8' }}
run: bash <(curl -s https://codecov.io/bash)
683 changes: 671 additions & 12 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

7 changes: 0 additions & 7 deletions codecov.yml

This file was deleted.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,14 @@ def build_extensions(self):

setup(
name="accupy",
version="0.3.1",
version="0.3.2",
packages=find_packages(),
ext_modules=ext_modules,
url="https://github.com/nschloe/accupy",
author="Nico Schlömer",
author_email="[email protected]",
# importlib_metadata can be removed when we support Python 3.8+ only
install_requires=[
"importlib_metadata",
"importlib_metadata;python_version<'3.8'",
"mpmath",
"numpy",
"pybind11 >= 2.5.0",
Expand All @@ -111,7 +110,8 @@ def build_extensions(self):
description="Accurate sums and dot products for Python",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="GPLv3+",
license="GPL-3.0-or-later",
license_file="LICENSE",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
Expand Down
1 change: 0 additions & 1 deletion test_requirements.txt

This file was deleted.

11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[tox]
envlist = py3
isolated_build = True

[testenv]
deps =
perfplot
pytest
pytest-cov
commands =
pytest --cov {envsitepackagesdir}/accupy --cov-report xml --cov-report term

0 comments on commit 4fa0e04

Please sign in to comment.