def pypi_packages(): package_temp = TOP.join('build/test-packages') with TOP.as_cwd(): run( sys.executable, 'tests/testing/make_sdists.py', 'tests/testing/packages', '.', # we need venv-update to be installable too str(package_temp), ) yield package_temp
def pypi_packages(tmpdir_factory): package_temp = tmpdir_factory.ensuretemp("venv-update-packages") with TOP.as_cwd(): run( sys.executable, "tests/testing/make_sdists.py", "tests/testing/packages", ".", # we need pip-faster to be installable too str(package_temp), ) yield package_temp
def pypi_packages(tmpdir_factory): package_temp = tmpdir_factory.ensuretemp('venv-update-packages') with TOP.as_cwd(): run( sys.executable, 'tests/testing/make_sdists.py', 'tests/testing/packages', '.', # we need pip-faster to be installable too str(package_temp), ) yield package_temp