Ed Morley
71aef447a6
Migrate away from sp-grep ( #1119 )
...
Switches the last consumers of it to a simpler utility function that
uses `pkgutil.find_loader()`:
https://docs.python.org/3/library/pkgutil.html#pkgutil.find_loader
Both of these consumers are covered by existing tests.
Then removes `sp-grep` and the remaining parts of `pip-pop`.
Closes @W-8208817@.
2020-11-12 17:42:51 +00:00
David Zülke
00d44d2e34
Revert "Refactor: $BUILD_DIR"
2019-10-09 15:28:31 +02:00
Duane Hutchins
05e29c74bc
Changed hardcoded /app into $BUILD_DIR
2019-10-07 16:41:07 -07:00
Ian Stapleton Cordasco
f0081e6faf
Fix new shellcheck warnings breaking periodic CI
...
New warnings were found in our periodic (CRON) CI jobs.
Fixes https://travis-ci.org/heroku/heroku-buildpack-python/jobs/383404864
2018-05-25 12:16:47 -05:00
kennethreitz
dd0aee7b06
update metrics
2018-04-20 10:16:27 -04:00
kennethreitz
00947abe7a
collectstatic metrics ( #660 )
2018-03-14 13:06:56 -04:00
kennethreitz
7d975e74a9
default to user python path for collectstatic runs ( #655 )
...
* default to user python path for collectstatic runs
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* bugfixes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* fix
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-13 20:59:11 -04:00
kennethreitz
5f8360cba8
Metrics ( #657 )
...
* metrics
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* using pipenv anyway
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* instrument bad failures
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* if not
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-13 20:56:40 -04:00
jxltom
2e1638a1b0
Fix PYTHONPATH is not set when running collectstatic ( #637 )
...
* Fix PYTHONPATH is not set when running collectstatic
* update changelog
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* Update CHANGELOG.md
2018-03-02 09:04:00 -05:00
kennethreitz
f74d4db8c5
Shellcheck Compliance ( #438 )
...
* fixed the bug for pypy-5.8.0
* enable shellcheck in makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* make compile script shellcheck compatible
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* let's see what this says
* fix pip installation
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck detect script
* shellcheck release
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck test-compile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck warnings/utils
* updated makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck collectstatic
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck cryptography
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck eggpath fixes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck gdal
* shellcheck goes-libs
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck mercurial
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* nltk shellcheck
* shellcheck pip-install
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck pip-uninstall
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck pipenv
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck pylibmc
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck python
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* update makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* final update to makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* fix tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* actually fix the tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* update pipenv-python-version
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* requested fixes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* update spellcheck sources
* attempted fix for shell globbing
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* further attempted fix
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* switch nltk styling
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* no more need for temp app for installing pip
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempt at staged build for shellcheck
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempted fix of travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* reorder travis file
* add shellcheck to install
* make things clearer in travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* better travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempt at better travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* better travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-08-03 17:36:23 -04:00
kennethreitz
f06f5676e8
silently use sp-grep ( #406 )
2017-06-05 13:31:57 -04:00
kennethreitz
ff94908505
Fix pyyaml ( #402 )
...
* Revert "use pkg_resources to check for distributions (#395 )"
This reverts commit 9b185f99d5 .
* use sp-grep for django detection
* sp-grep
* fix setuptools script
2017-06-02 15:23:05 -04:00
David Lord
9b185f99d5
use pkg_resources to check for distributions ( #395 )
...
more accurate than parsing requirements.txt
fixes #359
2017-05-30 11:05:33 -04:00
kennethreitz
d39b8c19b2
basics of metrics ( #374 )
...
* basics of metrics
* pin to stdlib v2
* measure python installation size
* lots of additional metrics
* add old output methods
* $
* empty commit
2017-05-03 14:15:03 -04:00
kennethreitz
26ed6daeaa
remove bpwatch
2017-03-17 14:12:18 -04:00
kennethreitz
e9108858fc
v100
2017-03-14 11:59:39 -04:00
kennethreitz
2df1131d3c
remove bpwatch
2017-03-10 11:21:57 -05:00
Ed Morley
69b8b25322
Use the canonical (and HTTPS) URLs for devcenter and pip
...
To save the 301s.
2016-02-29 18:28:23 +00:00
Ed Morley
b706cd13f7
Fix README and script comment typos
2016-02-29 18:00:46 +00:00
kennethreitz
ffb89feb0d
improvements to buildpack output
2016-02-08 20:59:03 -05:00
kennethreitz
90edd88b22
cleanup collectstatic stuff, before release
2016-02-08 20:30:39 -05:00
kennethreitz
6505f98bae
cleanup
2016-02-05 01:07:05 -05:00
kennethreitz
78b6142d18
suppress ManifestStaticFilesStorage
...
Thanks, #11
2016-02-05 00:06:38 -05:00
kennethreitz
e5ac89c4df
indent env output
2016-02-04 23:56:18 -05:00
kennethreitz
1e8ad56b0f
sed debug
2016-02-04 23:43:30 -05:00
kennethreitz
b6607f0f42
debug
2016-02-04 23:37:44 -05:00
kennethreitz
8615bf5272
debug
2016-02-04 23:36:19 -05:00
kennethreitz
7f475977b5
debugging
2016-02-04 23:35:13 -05:00
kennethreitz
53eee452eb
--traceback
2016-02-04 23:33:59 -05:00
kennethreitz
031c9d576f
cleanup output
2016-02-04 23:32:45 -05:00
kennethreitz
b0568b5f90
PIPESTATUS
2016-02-04 23:25:41 -05:00
kennethreitz
359a3b0d61
collectstatic improvements.
2016-02-04 23:20:40 -05:00
kennethreitz
b97a104ad6
better messaging
2016-02-04 23:05:38 -05:00
kennethreitz
a2ee94a8fb
first pass at new collectstatic logic
2016-02-04 22:02:24 -05:00
Ollanta
38fc8f4fe7
Prefer a 'manage.py' that exists higher up in the directory hierarchy
2015-04-02 14:53:52 +02:00
Kenneth Reitz
47c40ce086
Squashed commit of smart-requirements branch
...
commit 60a2a9d0720693b9438b0f1c75f570dc96bf3a4b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:58:29 2014 -0400
silent mode
commit 20368e741993a2c96739aa1de457618a5272bfe7
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:56:00 2014 -0400
pylibmc
commit 8a512995d806ad58e4a8cab9cd712e762277dcf3
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:55:25 2014 -0400
fix for pip-grep
commit 0b83a0ac11ee67f08dc843b01ecfe72c9b9c2938
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:50:35 2014 -0400
cat that shit
commit 27095d320f4e6c0a6bccec945efbdb6f09598cfc
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:49:11 2014 -0400
don't silence the output
commit db15ac279169467e1e78cfcc55cb740660d4b4c9
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:46:55 2014 -0400
hello
commit 6b851815b07331bf185f218c40d62123df048b7b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:41:37 2014 -0400
cleanup
commit b2ccf76ccb244976e5ee71164cfe591925cb13a4
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:41:14 2014 -0400
remove last debugging statement
commit fdcb7a210327f01fdc49dba00c3928cbb4778c72
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:39:10 2014 -0400
remove debugging statements
commit dd58a898e4e5244f3b78ce0402537a1b730a3cc3
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:36:02 2014 -0400
bp watch
commit c722f6e964b2a25f91d153c65f0c473ff22ff4c8
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:34:34 2014 -0400
install finished
commit 81644ba1956798c06f55a8ce4c86239ca4ee8036
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:33:04 2014 -0400
install started
commit 62d0e3b81a5ac25e8ceab735e25cf2bb8d161f0b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 14:54:59 2014 -0400
debug
commit 1775a1b206780fd99d013ca7c0cb8d8de17a8461
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 13:01:15 2014 -0400
test0
commit 3d20cf89ae0f9436a54c456779a544a3b9d226ac
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:57:07 2014 -0400
test2/2
commit 751d7496893bc84430a93cd479511786bce9abb9
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:50:11 2014 -0400
silent mode
commit f927b7b3dee18c6ee58b36a3f96ad66e53b8d46d
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:44:58 2014 -0400
pylibmc with pip-grep
commit 00dfc36701bf72191f0ad7b7d5533ba7a9ac3b10
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:41:11 2014 -0400
no debug echo
commit 38d78d800583fc89100cadc551ce715c5800f0b8
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:40:06 2014 -0400
source, not subenv
commit f455de19a8c1150aa2a4df164b90c2dc9a195942
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:36:35 2014 -0400
don't print "installing dependencies with pip" twice
commit e72ed7ddbafa0722d2ac6f0cdaf4ac4d0ca0f634
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:35:47 2014 -0400
refactor
commit 64819d9fd7ac042ef56499750b47214eb863f8d2
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:24:26 2014 -0400
pip-grep
commit 5e075dd7dbeda9084ea7ce0151dc17924251c258
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:24:13 2014 -0400
no more travis
commit bc9baba04436dc7b8aefeaee24e820a9720ee9e8
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:32:40 2014 -0400
if not requirement
commit 0918d781e50e6190d1045c19c5c5a37e00d669dc
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:28:28 2014 -0400
only use requirments that are truthy
commit 4f0f750407eae6bc7faea50c7b607a10a11ad1c5
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:25:15 2014 -0400
new version of pip-diff
commit d13b397a21733d0a0a5e31c4995dc6a3b65cd977
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:12:23 2014 -0400
ignore errors for pip-diff
commit bb09fb0d5051f69a35e086030b11fd39d1539f84
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:55:55 2014 -0400
uninstall the packages
commit 29b2e1f2dbe7761e3f7f55827d0adcd0025aeb4b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:47:21 2014 -0400
maybe this one should be relative
commit 2448558624fdce634350e904eaad5fd3aa725c22
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:44:04 2014 -0400
docopt
commit 47010d297330869516f6add46ace97a41cdccb8d
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:40:36 2014 -0400
first pass at pip-pop integration
commit 59ac5912e1322be771d1969687891ebeb9f4b5f0
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 22 14:42:08 2014 -0400
copy requirements
2014-08-01 15:00:38 -04:00
Kenneth Reitz
8be04ea656
no !
2014-04-02 14:05:09 -04:00
Kenneth Reitz
de7c16d942
handhold for collectstatic
2014-04-02 14:02:18 -04:00
Kenneth Reitz
5ea843458a
improved collectstatic experience
2014-04-02 13:37:19 -04:00
Aron Griffis
a5cca6de75
Use a sed() function for unbuffered output.
...
In `bin/steps/collectstatic` the unbuffered output in `indent` is subverted
by calling `sed` first:
```shell
python $MANAGE_FILE collectstatic --noinput 2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
```
This commit fixes this by making `sed` itself unbuffered rather than
putting that logic in the `indent` function.
2014-02-17 14:49:09 -05:00
Kenneth Reitz
5ecd27e3b8
chmod +x
2013-12-13 16:03:39 -08:00
Kenneth Reitz
3448923b69
collectstatic logic improvements
2013-06-26 13:58:00 -04:00
Kenneth Reitz
8637dc05c0
cleanups
2013-01-02 22:26:15 -05:00
Kenneth Reitz
117dcff4e1
collectstatic always
2012-12-19 21:17:49 -05:00