.python-eggs #115

Closed
opened 2026-01-29 20:35:32 +00:00 by claunia · 6 comments
Owner

Originally created by @pdknsk on GitHub (May 25, 2016).

# Python
import brotli

Is there a reason it makes these in $HOME? I've yet to notice a pip installed package do this.

$ ls -R .python-eggs/
.python-eggs/:
Brotli-0.3.0-py2.7-linux-x86_64.egg-tmp

.python-eggs/Brotli-0.3.0-py2.7-linux-x86_64.egg-tmp:
brotli.so
Originally created by @pdknsk on GitHub (May 25, 2016). ``` Python # Python import brotli ``` Is there a reason it makes these in `$HOME`? I've yet to notice a `pip` installed package do this. ``` Bash $ ls -R .python-eggs/ .python-eggs/: Brotli-0.3.0-py2.7-linux-x86_64.egg-tmp .python-eggs/Brotli-0.3.0-py2.7-linux-x86_64.egg-tmp: brotli.so ```
Author
Owner

@anthrotype commented on GitHub (May 26, 2016):

http://stackoverflow.com/questions/2192323/what-is-the-python-egg-cache-python-egg-cache

I'd recommend you don't do
python setup.py install
when installing from the source directory, as that triggers setuptools to create an .egg. Instead, use
pip install .
This will not create eggs, but will install the package unzipped in the site-packages.

@anthrotype commented on GitHub (May 26, 2016): http://stackoverflow.com/questions/2192323/what-is-the-python-egg-cache-python-egg-cache I'd recommend you don't do python setup.py install when installing from the source directory, as that triggers setuptools to create an .egg. Instead, use pip install . This will not create eggs, but will install the package unzipped in the site-packages.
Author
Owner

@pdknsk commented on GitHub (May 26, 2016):

Thanks for the tip. This should be in the documentation. Ideally there would be a pip package.

@pdknsk commented on GitHub (May 26, 2016): Thanks for the tip. This should be in the documentation. Ideally there would be a `pip` package.
Author
Owner

@anthrotype commented on GitHub (May 26, 2016):

Well, there are "pip packages": that is, wheels, available from the GitHub releases page of this repository.
I guess you meant that these wheels should be also available from PyPI, so one can just do pip install brotli. Of course, I'm with you on that.

@anthrotype commented on GitHub (May 26, 2016): Well, there are "pip packages": that is, wheels, available from the GitHub releases page of this repository. I guess you meant that these wheels should be also available from PyPI, so one can just do pip install brotli. Of course, I'm with you on that.
Author
Owner

@pdknsk commented on GitHub (May 26, 2016):

It didn't occur to me to try. That's good enough IMO, but should really be documented.

pip install git+https://github.com/google/brotli/
@pdknsk commented on GitHub (May 26, 2016): It didn't occur to me to try. That's good enough IMO, but should really be documented. ``` Bash pip install git+https://github.com/google/brotli/ ```
Author
Owner

@rleonhardt commented on GitHub (Jun 6, 2017):

@anthrotype: could you change README.md and python/README.md accordingly to use
pip install . instead of python setup.py install?
And in addition for people who don't want to clone the repository first
pip install git+https://github.com/google/brotli/

@rleonhardt commented on GitHub (Jun 6, 2017): @anthrotype: could you change README.md and python/README.md accordingly to use `pip install .` instead of `python setup.py install`? And in addition for people who don't want to clone the repository first `pip install git+https://github.com/google/brotli/`
Author
Owner

@eustas commented on GitHub (Sep 19, 2017):

Done

@eustas commented on GitHub (Sep 19, 2017): Done
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#115