id
type
5 (blog/news article)
status
21 (imported old-v2, waiting for another import)
review version
0
cleanup version
0
pending deletion
0 (-)
created at
2025-11-18 03:03:16
updated at
2025-11-18 03:03:17
url
https://gregreda.com/2023/05/18/notes-on-using-pyinstaller-poetry-and-pyenv/
url length
76
url crc
27953
url crc32
1562799409
location type
1 (url matches target location, page_location is empty)
canonical status
2 (missing canonical tag in html)
canonical page id
-
domain id
domain tld
2211
domain parts
0
originating warc id
-
originating url
https://data.commoncrawl.org/crawl-data/CC-MAIN-2025-33/segments/1754151279968.16/warc/CC-MAIN-20250807151203-20250807181203-00399.warc.gz
source type
11 (CommonCrawl)
server ip
Publication date
2025-08-07 16:17:40
Fetch attempts
0
Original html size
15838
Normalized and saved size
15838
title
Notes on using PyInstaller, poetry, and pyenv
excerpt
content
In my all my years of working in Python, I don't think I've ever had to create a standalone executable. But, it finally happened. It was a pretty seamless experience, but I did hit a minor hiccup, so I wanted to capture some notes for my future self (and others, too). I was using pyenv and poetry to manage my Python environments and dependencies, and PyInstaller to create the executable. Let's assume you have the following project setup: $ ls -la total 56 drwxr-xr-x@ 5 greg staff 160 May 18 17:26 . drwxr-xr-x@ 5 greg staff 160 May 18 17:23 .. -rw-r--r--@ 1 greg staff 22220 May 18 17:28 poetry.lock -rw-r--r--@ 1 greg staff 381 May 18 17:28 pyproject.toml drwxr-xr-x@ 3 greg staff 96 May 18 17:24 src Let's also assume you have a simple Python script at src/main.py that you want to turn into an executable. # src/main.py from bs4 import BeautifulSoup import requests def get_data(): response = requests.get('https://www.google.com') soup = BeautifulSoup(r...
author
Greg Reda
updated
1764251786
block type
0
extracted fields
109
extracted bits
featured image
article author
title
full content
content was extracted heuristically
detected location
0
detected language
1 (English)
category id
230
index version
2025123101
paywall score
0
spam phrases
0
text nonlatin
0
text cyrillic
0
text characters
2296
text words
522
text unique words
214
text lines
1
text sentences
14
text paragraphs
1
text words per sentence
37
text matched phrases
2
text matched dictionaries
2
links self subdomains
0
links other subdomains
0
links other domains
2
links spam adult
0
links spam random
0
links spam expired
0
links ext activities
0
links ext ecommerce
0
links ext finance
0
links ext crypto
0
links ext booking
0
links ext news
0
links ext leaks
0
links ext ugc
1
links ext klim
0
links ext generic
0
image author
featured image