Skip to content

use pkg_resources to check for distributions#395

Merged
kennethreitz merged 1 commit intoheroku:masterfrom
davidism:pip-grep
May 30, 2017
Merged

use pkg_resources to check for distributions#395
kennethreitz merged 1 commit intoheroku:masterfrom
davidism:pip-grep

Conversation

@davidism
Copy link
Copy Markdown
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
Copy Markdown
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