Created
January 4, 2017 20:04
-
-
Save atomotic/c158aa890589e1b719d63a182516c43f to your computer and use it in GitHub Desktop.
pyinstaller twarc
This file contains 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 characters
(venv) ➜ twarc git:(master) ✗ pyinstaller --clean --hidden-import urllib3 --hidden-import queue --onefile twarc.py | |
(venv) ➜ twarc git:(master) ✗ ls -lah dist/twarc | |
-rwxr-xr-x 1 raffaele 5.4M Jan 4 21:01 dist/twarc | |
(venv) ➜ twarc git:(master) ✗ file dist/twarc | |
dist/twarc: Mach-O 64-bit executable x86_64 | |
./dist/twarc --help | |
usage: twarc [-h] [--log LOG] [--consumer_key CONSUMER_KEY] | |
[--consumer_secret CONSUMER_SECRET] [--access_token ACCESS_TOKEN] | |
[--access_token_secret ACCESS_TOKEN_SECRET] [--config CONFIG] | |
[--profile PROFILE] [--warnings] | |
[--connection_errors CONNECTION_ERRORS] | |
[--http_errors HTTP_ERRORS] [--max_id MAX_ID] | |
[--since_id SINCE_ID] [--result_type {mixed,recent,popular}] | |
[--lang LANG] [--geocode GEOCODE] [--locations LOCATIONS] | |
[--follow FOLLOW] | |
{configure,filter,followers,friends,help,hydrate,retweets,sample,search,timeline,trends,users,version} | |
[query] | |
...... | |
(venv) ➜ twarc git:(master) ✗ ./dist/twarc search "#webarchiving" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment