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

use pkg_resources to check for distributions #395

Merged
merged 1 commit into from
May 30, 2017
Merged

use pkg_resources to check for distributions #395

merged 1 commit into from
May 30, 2017

Conversation

davidism
Copy link
Contributor

This changes the implementation of pip-grep to use pkg_resources.get_distribution instead of parsing requirements.txt manually. This makes the buildpack more accurate for some project configurations.

This change is backwards compatible, scripts calling this with a requirements file will continue to work, since "requirements.txt" is not a package.

fixes #359

more accurate than parsing requirements.txt
fixes #359
@kennethreitz kennethreitz merged commit 9b185f9 into heroku:master May 30, 2017
@kennethreitz
Copy link
Contributor

✨🍰✨

@davidism davidism deleted the pip-grep branch May 30, 2017 15:20
kennethreitz added a commit that referenced this pull request Jun 2, 2017
kennethreitz added a commit that referenced this pull request Jun 2, 2017
* Revert "use pkg_resources to check for distributions (#395)"

This reverts commit 9b185f9.

* use sp-grep for django detection

* sp-grep

* fix setuptools script
oTree-org pushed a commit to oTree-org/oTree that referenced this pull request Dec 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

collectstatic does not run when using setup.py
2 participants