Skip to content

python setup.py egg_info leads to a build #36207

@peterjc123

Description

@peterjc123

🐛 Bug

(base) > python setup.py egg_info
Building wheel torch-1.6.0a0+1e4bf29
-- Building version 1.6.0a0+1e4bf29
cmake --build . --target install --config Release -- -j 8
[0/1] Re-running CMake...

To Reproduce

Steps to reproduce the behavior:

  1. python setup.py egg_info

Expected behavior

It should not call CMake commands.

Environment

Please copy and paste the output from our
environment collection script
(or fill out the checklist below manually).

You can get the script and run it with:

wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
  • PyTorch Version (e.g., 1.0): master
  • OS (e.g., Linux): Windows
  • How you installed PyTorch (conda, pip, source): source
  • Build command you used (if compiling from source): python setup.py egg_info
  • Python version: 3.5/3.6/3.7/3.8
  • CUDA/cuDNN version: N/A
  • GPU models and configuration: N/A
  • Any other relevant information:

Additional context

It leads to the failure in generating wheels on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions