-
Notifications
You must be signed in to change notification settings - Fork 3k
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
problem about --install-option #7512
Comments
I try to search for this error. but no answer. |
Not passing |
why not add an option to avoid this error. using a requirements.txt is not a good way for me |
maybe we can recognize the user-defined option and ignore it. |
The requirements.txt approach is very straightforward, just make a file like
then do
If you want to fix it for good, I described one way to implement it in pip in #1883 (comment).
pip does not have any control over what the setup.py does, so this is not an approach we can take |
thanks for your reply ^_^ |
I got a problem after executed it, it will download pandas, and get stuck when installing pandas. but the following command will work normally
also will show the following output after type the "Enter" key many times
|
the output is pasted by shortcuts, ignore it |
after a long time. it will successfully finish. but no any output.
|
it will try to compile pandas..,,, I see it |
Environment
Description
try to extend install-option by using cmdclass when installing the package, the --install-option will be passed by to dependent libraries
Expected behavior
the --install-option only be passed to the current package
How to Reproduce
https://github.com/ctpbee/ctpbee/blob/dev/setup.py
1.clone the dev branch
2.cd ctpbee
3.pip install .[QA_SUPPORT] --install-option="--fix=true" --install-option="--uri=https://mirrors.aliyun.com/pypi/simple"
Error will occurs!
python setup.py install --fix=true --uri=https://mirrors.aliyun.com/pypi/simple
will work correctly
Output
The text was updated successfully, but these errors were encountered: