Skip to content

Instantly share code, notes, and snippets.

@band
Created January 21, 2024 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save band/e226d8b82d0ed7cf53c3184b1a259e45 to your computer and use it in GitHub Desktop.
Save band/e226d8b82d0ed7cf53c3184b1a259e45 to your computer and use it in GitHub Desktop.
PyPI Poetry learnings and trials and errors
dist/noop_band-0.1.7-py3-none-any.whl
M Mode Siz Date&time Filename
- ---------- --- -------------------- ----------------
-rw-r--r-- 0 1-Jan-1980 00:00:00 noop_band/__init__.py
-rw-r--r-- 213 1-Jan-1980 00:00:00 noop_band/emoji_format/emojiformat.py
-rwxr-xr-x 527 1-Jan-1980 00:00:00 noop_band/noop.py
-rw-r--r-- 714 1-Jan-1980 00:00:00 noop_band-0.1.7.dist-info/METADATA
-rw-r--r-- 88 1-Jan-1980 00:00:00 noop_band-0.1.7.dist-info/WHEEL
-rw-r--r-- 44 1-Jan-1980 00:00:00 noop_band-0.1.7.dist-info/entry_points.txt
-rw-r--r-- 549 1-Jan-2016 00:00:00 noop_band-0.1.7.dist-info/RECORD
- ---------- --- -------------------- ----------------
2135 7 files
# result of pip install and program execution:
(venv) beckett: ~/tmp/labench $ pip install --extra-index-url https://test.pypi.org/simple/ noop_band
Looking in indexes: https://pypi.org/simple, https://test.pypi.org/simple/
Collecting noop_band
Downloading https://test-files.pythonhosted.org/packages/54/af/4510a7cdefebd68b2d5658325486d91259946433400d3284000ae8bb8a4d/noop_band-0.1.7-py3-none-any.whl.metadata (696 bytes)
Collecting emoji<3.0.0,>=2.9.0 (from noop_band)
Using cached emoji-2.10.0-py2.py3-none-any.whl.metadata (5.3 kB)
Downloading https://test-files.pythonhosted.org/packages/54/af/4510a7cdefebd68b2d5658325486d91259946433400d3284000ae8bb8a4d/noop_band-0.1.7-py3-none-any.whl (2.2 kB)
Using cached emoji-2.10.0-py2.py3-none-any.whl (457 kB)
Installing collected packages: emoji, noop_band
Successfully installed emoji-2.10.0 noop_band-0.1.7
(venv) beckett: ~/tmp/labench $ pip list
Package Version
---------- -------
emoji 2.10.0
noop_band 0.1.7
pip 23.3.2
setuptools 69.0.2
(venv) beckett: ~/tmp/labench $ noop
Traceback (most recent call last):
File "/Users/band/tmp/labench/venv/bin/noop", line 5, in <module>
from noop_band.noop import main
File "/Users/band/tmp/labench/venv/lib/python3.11/site-packages/noop_band/noop.py", line 9, in <module>
from emoji_format.emojiformat import EmojiFormat
ModuleNotFoundError: No module named 'emoji_format'
# tree of venv/lib/python3.11/site-packages/noop_band*:
noop_band
├── __init__.py
├── emoji_format
│   └── emojiformat.py
└── noop.py
noop_band-0.1.7.dist-info
├── INSTALLER
├── METADATA
├── RECORD
├── REQUESTED
├── WHEEL
└── entry_points.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment