Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add always-unzip and no-deps options to install command #206

Closed
ghost opened this issue May 11, 2014 · 4 comments
Closed

Add always-unzip and no-deps options to install command #206

ghost opened this issue May 11, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented May 11, 2014

Originally reported by: jaraco (Bitbucket: jaraco, GitHub: jaraco)


In pip 1749, it appears that setuptools could better support the use cases of pip by providing two new options, --always-unzip and --no-deps, to the install command.

What are the implications of adding such options? Would they simply fall through to easy_install? Could the same behavior be invoked using existing behavior, such as through setopt, e.g.:

python setup.py setopt -c easy_install -o always-unzip -s 1 install

While ugly, I believe that behavior would work today.


@ghost
Copy link
Author

ghost commented May 11, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Note, I haven't even tested the idea described above. It may well be incorrect or impossible, but I did want to present that possibility.

@ghost
Copy link
Author

ghost commented May 11, 2014

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


I've never even seen setopt before, so I'm not sure what it does :)

Essentially what pip needs in order to sanely support the --egg option, is the ability to get all of the semantics of --single-version-externally-managed except installed as an egg. I think that the imports parts are installing unzipped and installing without deps, but there may be more to it.

@asmodehn
Copy link

asmodehn commented Aug 9, 2016

I also have a usecase where I would like to be able to do
setup.py install --single-version-externally-managed --root --no-deps.

I am currently using --single-version-externally-managed and --root as well but it is not clear to me if these bring in dependencies or not (I would like them not to). The documentation doesn't say anything about it.

I think I have seen them bringing in dependencies (Cant be sure, I have been switching a lot between different versions of setuptools) but it seems they don't (#570) ?

@benoit-pierre
Copy link
Member

Pip non longer support --egg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants