Browse Source

Fix setup.py test invocation (#263)

tags/v0.6.1
Ben Kurtovic 1 year ago
parent
commit
4e63226f6b
3 changed files with 4 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +2
    -0
      setup.cfg
  3. +1
    -0
      setup.py

+ 1
- 0
.gitignore View File

@@ -5,6 +5,7 @@
*.egg
*.egg-info
.coverage
.eggs
.DS_Store
__pycache__
build


+ 2
- 0
setup.cfg View File

@@ -0,0 +1,2 @@
[aliases]
test=pytest

+ 1
- 0
setup.py View File

@@ -77,6 +77,7 @@ setup(
packages = find_packages("src"),
package_dir = {"": "src"},
ext_modules = [tokenizer] if use_extension else [],
setup_requires = ["pytest-runner"] if "test" in sys.argv or "pytest" in sys.argv else [],
tests_require = ["pytest"],
version = __version__,
python_requires = ">= 3.5",


Loading…
Cancel
Save