update tox, fix setup.py
This commit is contained in:
parent
e6f00fd578
commit
d66c066ff1
2 changed files with 6 additions and 10 deletions
4
setup.py
4
setup.py
|
@ -73,7 +73,7 @@ else:
|
||||||
setup(
|
setup(
|
||||||
name="lbry-rocksdb",
|
name="lbry-rocksdb",
|
||||||
version=version,
|
version=version,
|
||||||
keywords=['rocksdb', 'static', 'build'],
|
keywords=['rocksdb', 'lbry-rocksdb', 'python-rocksdb', 'leveldb', 'embedded', 'database'],
|
||||||
description="Python bindings for RocksDB",
|
description="Python bindings for RocksDB",
|
||||||
long_description=open("README.md").read(),
|
long_description=open("README.md").read(),
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
@ -83,7 +83,7 @@ setup(
|
||||||
license='BSD License',
|
license='BSD License',
|
||||||
python_requires=">=3.7.0",
|
python_requires=">=3.7.0",
|
||||||
package_dir={'rocksdb': 'rocksdb'},
|
package_dir={'rocksdb': 'rocksdb'},
|
||||||
packages=find_packages('.'),
|
packages=find_packages(exclude=('tests',)),
|
||||||
ext_modules=cythonize([Extension(
|
ext_modules=cythonize([Extension(
|
||||||
'rocksdb._rocksdb',
|
'rocksdb._rocksdb',
|
||||||
SOURCES,
|
SOURCES,
|
||||||
|
|
12
tox.ini
12
tox.ini
|
@ -2,18 +2,14 @@
|
||||||
envlist = py37,py38,py39
|
envlist = py37,py38,py39
|
||||||
minversion = 3.7
|
minversion = 3.7
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
skip_missing_interpreters = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
deps =
|
deps = -e .
|
||||||
-e
|
commands = python -m unittest discover . -v
|
||||||
.[test]
|
norecursedirs = .tox
|
||||||
commands = pytest {posargs:rocksdb/tests}
|
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = .[doc]
|
deps = .[doc]
|
||||||
commands = python setup.py build_sphinx -W
|
commands = python setup.py build_sphinx -W
|
||||||
|
|
||||||
[pytest]
|
|
||||||
addopts = --verbose
|
|
||||||
norecursedirs = .tox
|
|
||||||
|
|
Loading…
Reference in a new issue