github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/test/integration/test-fixtures/image-pkg-coverage/pkgs/python/setup/setup.py (about)

     1  from setuptools import setup
     2  
     3  # TODO: if py gets upgrade to >=1.6,
     4  #       remove _width_of_current_line in terminal.py
     5  INSTALL_REQUIRES = [
     6      "py>=1.5.0",
     7      "packaging",
     8      "attrs>=17.4.0",  # should match oldattrs tox env.
     9      "more-itertools>=4.0.0",
    10      'atomicwrites>=1.0;sys_platform=="win32"',
    11      'pathlib2>=2.2.0;python_version<"3.6"',
    12      'colorama;sys_platform=="win32"',
    13      "pluggy>=0.12,<1.0",
    14      'importlib-metadata>=0.12;python_version<"3.8"',
    15      "wcwidth",
    16  ]
    17  
    18  
    19  def main():
    20      setup(
    21          use_scm_version={"write_to": "src/_pytest/_version.py"},
    22          setup_requires=["setuptools-scm", "setuptools>=40.0"],
    23          package_dir={"": "src"},
    24          extras_require={
    25              "testing": [
    26                  "argcomplete",
    27                  "hypothesis>=3.56",
    28                  "mock",
    29                  "nose",
    30                  "requests",
    31                  "xmlschema",
    32              ],
    33              "checkqa-mypy": [
    34                  "mypy==v0.770",  # keep this in sync with .pre-commit-config.yaml.
    35              ],
    36          },
    37          install_requires=INSTALL_REQUIRES,
    38      )
    39  
    40  
    41  if __name__ == "__main__":
    42      main()