[GH-ISSUE #174] asciinema 1.3 does not provide a wrapper #133

Closed
opened 2026-02-25 20:32:47 +03:00 by kerem · 5 comments
Owner

Originally created by @carnager on GitHub (Aug 1, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/174

Since asciinema is now installed in python's site-packages directory, the binary won't be in $PATH anymore.

asciinema should probably provide a little wrapper to be placed in $PATH. I guess setup.py is the place to do this.

Originally created by @carnager on GitHub (Aug 1, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/174 Since asciinema is now installed in python's site-packages directory, the binary won't be in $PATH anymore. asciinema should probably provide a little wrapper to be placed in $PATH. I guess setup.py is the place to do this.
kerem closed this issue 2026-02-25 20:32:47 +03:00
Author
Owner

@ku1ik commented on GitHub (Aug 3, 2016):

setup.py has it configured: https://github.com/asciinema/asciinema/blob/master/setup.py#L29
In all systems I checked asciinema installation it was correctly creating a wrapper script.

<!-- gh-comment-id:237111233 --> @ku1ik commented on GitHub (Aug 3, 2016): setup.py has it configured: https://github.com/asciinema/asciinema/blob/master/setup.py#L29 In all systems I checked asciinema installation it was correctly creating a wrapper script.
Author
Owner

@fornwall commented on GitHub (Aug 31, 2016):

When I installed from source with python3.5 setup.py install, the resulting installation did not have the asciinema command-line wrapper.

I noticed the warnings

/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'entry_points'
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'

I had to pip3 install setuptools - after that the installation correctly set up the bin/asciinema wrapper.

I don't know enough about python packaging to know if this is the expected behaviour or not.

<!-- gh-comment-id:243796372 --> @fornwall commented on GitHub (Aug 31, 2016): When I installed from source with `python3.5 setup.py install`, the resulting installation did not have the asciinema command-line wrapper. I noticed the warnings ``` /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'entry_points' /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires' ``` I had to `pip3 install setuptools` - after that the installation correctly set up the bin/asciinema wrapper. I don't know enough about python packaging to know if this is the expected behaviour or not.
Author
Owner

@ku1ik commented on GitHub (Aug 31, 2016):

Does anyone know a way to make it generate a wrapper in a reliable way (also in the absence of setuptools)?

<!-- gh-comment-id:243839872 --> @ku1ik commented on GitHub (Aug 31, 2016): Does anyone know a way to make it generate a wrapper in a reliable way (also in the absence of setuptools)?
Author
Owner

@ku1ik commented on GitHub (Mar 9, 2017):

This has been solved in #179, the fix will be part of the next release.

<!-- gh-comment-id:285428072 --> @ku1ik commented on GitHub (Mar 9, 2017): This has been solved in #179, the fix will be part of the next release.
Author
Owner

@ku1ik commented on GitHub (Apr 11, 2017):

1.4.0 has been just released, including fix (#179) by @jakubjedelsky.

<!-- gh-comment-id:293317254 --> @ku1ik commented on GitHub (Apr 11, 2017): 1.4.0 has been just released, including fix (#179) by @jakubjedelsky.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#133
No description provided.