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

_get_build_prefix() failing in jython-win environment #1

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

H0
Copy link

@H0 H0 commented Mar 29, 2015

It affects bootstrapping ensurepip module under windows

darjus pushed a commit that referenced this pull request Jan 7, 2016
pip/index.py: Add import of normalize_path
darjus pushed a commit that referenced this pull request Jan 7, 2016
Break long lines to make pep8 happy
darjus pushed a commit that referenced this pull request Jan 7, 2016
two major changes:

1) re-use the optparse options in pip.cmdoptions instead of maintaining
   a custom parser

2) as a result of #1, simplify the call stack
    from:  parse_requirements -> parse_content -> parse_line
      to:  parse_requirements -> process_line

beyond #1/pypa#2, minor cosmetics and adjusting the tests to match
darjus pushed a commit that referenced this pull request Jan 7, 2016
   and adjust the logic to match; the result is simpler.
2) Due to #1, we can remove some hairy "format_control" hacks
3) Due to #1, we have to relax the parsing and allow:
   - multiple options per line
   - any supported option on a line with a requirement (not just
     --install-option/--global-option, although they are the only
     options that are passed into a requirement)
darjus pushed a commit that referenced this pull request Jan 7, 2016
   are unavailable, but issue a warning if this is used.
2. Explicitly handle the case where the unicode detection finds wide
   unicode but this is a 3.3+ build (necessary due to #1)
3. Fix tests broken due to pypa#2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant