mirror of https://github.com/jab/bidict.git
improvements to pyproject.toml changes
This commit is contained in:
parent
0d0c91fc75
commit
1f5a66c355
|
@ -34,7 +34,7 @@ install: # Install our test dependencies.
|
|||
|
||||
script: # Run our test suite.
|
||||
- if [[ -n $COVERAGE ]]; then export PYTEST_ADDOPTS="--cov=bidict --cov-config=.coveragerc"; fi
|
||||
- pytest tests
|
||||
- pytest
|
||||
|
||||
|
||||
after_script:
|
||||
|
|
|
@ -25,7 +25,8 @@ on libraries.io to be notified when new versions of bidict are released.
|
|||
0.17.3 (not yet released)
|
||||
-------------------------
|
||||
|
||||
- Include some additional supporting files in the source distribution.
|
||||
- Improve packaging by adding a pyproject.toml
|
||||
and including more supporting files in the distribution.
|
||||
|
||||
|
||||
0.17.2 (2018-04-30)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[build-system]
|
||||
requires = [
|
||||
"setuptools >= 35.0.2",
|
||||
"wheel >= 0.29.0",
|
||||
"setuptools_scm"
|
||||
"setuptools",
|
||||
"wheel",
|
||||
"setuptools_scm",
|
||||
]
|
||||
build-backend = 'setuptools.build_meta'
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
8
setup.py
8
setup.py
|
@ -40,7 +40,10 @@ else:
|
|||
with c_open(join(CWD, 'README.rst'), encoding='utf-8') as f:
|
||||
LONG_DESCRIPTION = f.read()
|
||||
|
||||
SETUP_REQS = ['setuptools_scm']
|
||||
SETUP_REQS = [
|
||||
'setuptools_scm',
|
||||
]
|
||||
|
||||
TEST_REQS = [
|
||||
'hypothesis<4',
|
||||
'hypothesis-pytest<1',
|
||||
|
@ -51,6 +54,7 @@ TEST_REQS = [
|
|||
'sortedcontainers<2',
|
||||
]
|
||||
|
||||
# Split out coverage from test requirements since it slows down the tests.
|
||||
COVERAGE_REQS = [
|
||||
'coverage<5',
|
||||
'pytest-cov<3',
|
||||
|
@ -103,7 +107,7 @@ setup(
|
|||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
setup_requires=SETUP_REQS, # required so pip < 10 install works (no PEP-517/8 support)
|
||||
setup_requires=SETUP_REQS, # required so pip < 10 install works (no PEP-517/518 support)
|
||||
# for more details see https://www.python.org/dev/peps/pep-0518/#rationale
|
||||
tests_require=TEST_REQS,
|
||||
extras_require=dict(
|
||||
|
|
Loading…
Reference in New Issue