update tox, fix setup.py

This commit is contained in:
Jack Robison 2022-03-28 11:05:36 -04:00
parent e6f00fd578
commit d66c066ff1
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 6 additions and 10 deletions

View file

@ -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
View file

@ -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