Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip freeze: WARNING: Could not find setup.py for directory #10080

Closed
1 task done
bhrutledge opened this issue Jun 18, 2021 · 1 comment · Fixed by #10082
Closed
1 task done

pip freeze: WARNING: Could not find setup.py for directory #10080

bhrutledge opened this issue Jun 18, 2021 · 1 comment · Fixed by #10082
Labels
type: bug A confirmed bug or unintended behavior

Comments

@bhrutledge
Copy link

Description

In pypa/twine#757, I removed setup.py, because it was my understanding that it's no longer necessary for editable installs with recent versions of pip and setuptools. However, when I get a warning about that when I run pip freeze:

Expected behavior

If it's okay to omit setup.py, then I wouldn't expect a warning.

pip version

21.1.2

Python version

3.9.5

OS

macOS 11.3.1

How to Reproduce

% source /tmp/venv-twine/bin/activate

% pip install -e ~/Dev/twine
...
Installing collected packages: pyparsing, zipp, webencodings, urllib3, six, packaging, idna, chardet, certifi, requests, Pygments, importlib-metadata, docutils, bleach, tqdm, rfc3986, requests-toolbelt, readme-renderer, pkginfo, keyring, colorama, twine
  Running setup.py develop for twine
Successfully installed Pygments-2.9.0 bleach-3.3.0 certifi-2021.5.30 chardet-4.0.0 colorama-0.4.4 docutils-0.17.1 idna-2.10 importlib-metadata-4.5.0 keyring-23.0.1 packaging-20.9 pkginfo-1.7.0 pyparsing-2.4.7 readme-renderer-29.0 requests-2.25.1 requests-toolbelt-0.9.1 rfc3986-1.5.0 six-1.16.0 tqdm-4.61.1 twine-3.4.2.dev10+g6e8f187 urllib3-1.26.5 webencodings-0.5.1 zipp-3.4.1

% pip freeze
WARNING: Could not find setup.py for directory /Users/bhrutledge/Dev/twine (tried all parent directories)
bleach==3.3.0
certifi==2021.5.30
...
-e [email protected]:bhrutledge/twine.git@6e8f187947a0a23d3ca0daa6e88e19c7fd63fc77#egg=twine
...

Output

No response

Code of Conduct

@bhrutledge bhrutledge added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Jun 18, 2021
@bhrutledge
Copy link
Author

Thanks @uranusjr!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2021
@pradyunsg pradyunsg removed the S: needs triage Issues/PRs that need to be triaged label Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants