Skip to content

Commit 6047af0

Browse files
authored
Merge pull request #199 from scalative/setuptools-pyproject
Use setuptools-based pyproject.toml
2 parents 6bd4c58 + fe3229c commit 6047af0

16 files changed

+85
-367
lines changed

.flake8

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[flake8]
2+
exclude =
3+
.tox,
4+
.git,
5+
__pycache__,
6+
docs/source/conf.py

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ jobs:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install
3030
run: |
31-
pip install -e .
32-
pip install -r "test_requirements.txt"
33-
pip --version
31+
pip install -e '.[test]'
3432
- name: Run tests with unittest
3533
run: |
3634
coverage run --branch -m unittest discover -v -t . haas

.travis.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Changes since version 0.9.0
66
===========================
77

8+
* Replace ``setup.py`` with ``pyproject.toml`` (#199).
9+
810

911
Version 0.9.0
1012
=============

appveyor-cache.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

build.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

cp33-tox-requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

dev_requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

haas/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
# of the 3-clause BSD license. See the LICENSE.txt file for details.
77
from __future__ import absolute_import, unicode_literals
88

9-
try:
10-
from haas._version import version as __version__
11-
except ImportError: # pragma: no cover
12-
__version__ = 'notset'
13-
149
import logging
1510

11+
__version__ = '0.10.0.dev1'
12+
1613

1714
class NullHandler(logging.Handler): # pragma: no cover
1815
def emit(self, record):

0 commit comments

Comments
 (0)