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