poetry/tests/fixtures/project_with_setup_calls_sc.../setup.py

24 lines
532 B
Python

from __future__ import annotations
import subprocess
from setuptools import setup
if subprocess.call(["exit-code"]) != 42:
raise RuntimeError("Wrong exit code.")
kwargs = dict(
name="project-with-setup-calls-script",
license="MIT",
version="0.1.2",
description="Demo project.",
author="Sébastien Eustace",
author_email="sebastien@eustace.io",
url="https://github.com/demo/demo",
packages=["my_package"],
install_requires=["pendulum>=1.4.4", "cachy[msgpack]>=0.2.0"],
)
setup(**kwargs)