diff --git a/python/pyproject.toml b/python/pyproject.toml index adec975..bb489d2 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" [project] name = "palletjack" -version = "2.2.2" +version = "2.2.3" description = "Faster parquet metadata reading" readme = "README.md" requires-python = ">=3.9" diff --git a/python/setup.py b/python/setup.py index ef09059..7cccf3c 100644 --- a/python/setup.py +++ b/python/setup.py @@ -5,7 +5,6 @@ from setuptools import setup, find_packages from distutils.extension import Extension -from setuptools.command.test import test as TestCommand from Cython.Build import cythonize import pyarrow import numpy @@ -26,29 +25,6 @@ def no_cythonize(extensions, **_ignore): extension.sources[:] = sources return extensions -class PyTest(TestCommand): - user_options = [("pytest-args=", "a", "Arguments to pass into py.test")] - - def initialize_options(self): - TestCommand.initialize_options(self) - try: - from multiprocessing import cpu_count - - self.pytest_args = ["-n", str(cpu_count()), "--boxed"] - except (ImportError, NotImplementedError): - self.pytest_args = ["-n", "1", "--boxed"] - - def finalize_options(self): - TestCommand.finalize_options(self) - self.test_args = [] - self.test_suite = True - - def run_tests(self): - import pytest - - errno = pytest.main(self.pytest_args) - sys.exit(errno) - vcpkg_installed = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'vcpkg_installed', os.getenv('VCPKG_TARGET_TRIPLET', '')) include_dirs = [os.path.join(vcpkg_installed, 'include'), pyarrow.get_include(), numpy.get_include()] library_dirs = [os.path.join(vcpkg_installed, 'lib')] + pyarrow.get_library_dirs() @@ -94,7 +70,6 @@ def run_tests(self): package_dir={"": "."}, zip_safe=False, ext_modules=extensions, - test_suite = 'test', project_urls={ "Documentation": "https://github.com/G-Research/PalletJack", "Source": "https://github.com/G-Research/PalletJack",