Created
April 24, 2019 17:18
-
-
Save sajoku/f97ce168d23e961dc1f09a90de163d1b to your computer and use it in GitHub Desktop.
Revisions
-
sajoku created this gist
Apr 24, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # pipenv allows us to install packages straight from source but only # when providing a location to the wheel #pipenv install file:///home/packages/packages/aioredis-1.2.0-py3-none-any.whl packages_directory='/home/packages/packages/' packages=(aioredis asgiref asn1crypto async-timeout attrs autobahn automat cffi channels-redis channels constantly cryptography daphne django-redis django-reversion django-webpack-loader django h2 hiredis hpack hyperframe hyperlink idna incremental msgpack priority psycopg2-binary psycopg2 py-moneyed pyasn1-modules pyasn1 pycparser pyhamcrest pyopenssl pytz redis restless selenium service-identity six sqlparse twisted[http2,tls] txaio urllib3 uwsgi whitenoise zope.interface) for package in ${packages[@]} do package_location=$(find "$packages_directory" -print | grep -i "$package") echo "Found package: $package in location: $package_location" pipenv install "$package_location" done