{% set name = "setuptools" %}
{% set version = "67.8.0" %}
{% set build = "0" %}
{% set checksum = "62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102" %}
# make sure to set CONDA_ADD_PIP_AS_PYTHON_DEPENDENCY=0 environ-variable before building it
package:
name: {{ name }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/s/setuptools/setuptools-{{ version }}.tar.gz
sha256: {{ checksum }}
patches:
# Modify setuptools to fail if used in conda build (encourage people to add all deps in meta.yaml).
- patches/0002-disable-downloads-inside-conda-build.patch
# distutils patches from python-feedstock
- patches/0021-Add-d1trimfile-SRC_DIR-to-make-pdbs-more-relocatable.patch
build:
number: 0
skip: True # [py<37]
requirements:
build:
- patch # [unix]
- m2-patch # [win]
host:
# omitting wheel for this package to avoid cyclic dependencies
- python
run:
- python
test:
requires:
- pip
commands:
- pip check
imports:
- setuptools
- pkg_resources
- distutils
about:
home: https://github.com/pypa/setuptools
license: MIT
license_file: LICENSE
license_family: MIT
summary: Download, build, install, upgrade, and uninstall Python packages
description: |
Setuptools is a fully-featured, actively-maintained, and stable library
designed to facilitate packaging Python projects.
doc_url: https://setuptools.pypa.io/en/latest/
dev_url: https://github.com/pypa/setuptools
extra:
recipe-maintainers:
- jakirkham
- msarahan
- ocefpaf
- nicoddemus
- isuruf