@@ -97,19 +97,19 @@ python do_rewrite_requirements() {
97
97
bb . debug (1 , 'Checking ' + plainname )
98
98
99
99
if line . startswith ('--index-url' ): pypi . append (line )
100
- elif line . startswith ('--editable' ) or line . startswith ('./' ):
100
+ elif line . startswith ('--editable' ) or ( line . startswith ('./' ) or line . startswith ( '../' ) ):
101
101
# an editable probably-local package
102
102
if line . startswith ('--editable' ):
103
103
working = line . split ('--editable' )[-1 ]. strip ()
104
104
else :
105
105
working = line . strip ()
106
- if not working . startswith ('./' ):
106
+ if not ( working . startswith ('./' ) or working . startswith ( '../' ) ):
107
107
bb . debug (1 , 'Skipping {}' . format (line ))
108
108
continue
109
109
working = d . getVar ('PIPENV_APP_BUNDLE_PROJECT_ROOT' ) + '/' + working
110
110
local . append (working )
111
111
bb . debug (1 , 'Rewrote local path to ' + working )
112
- elif not line . startswith ('.' ) and not '://' in line :
112
+ elif not ( line . startswith ('.' ) or line . startswith ( '../' ) ) and not '://' in line :
113
113
# This is a package from pypi; check if it's global
114
114
first_nonalpha = [c for c in line if c in '=~^<>' ]
115
115
pkgname = line . split (first_nonalpha [0 ])[0 ] if first_nonalpha else line
@@ -159,7 +159,7 @@ do_compile () {
159
159
160
160
${PYTHON} -m pip install \
161
161
-t ${B} /pip -buildenv \
162
- hatchling flit flit -core setuptools == 65.6.3 setuptools -scm [toml ]== 7.1.0 wheel == 0.38.4 \
162
+ hatchling hatch - vcs flit flit -core setuptools == 65.6.3 setuptools -scm [toml ]== 7.1.0 wheel == 0.38.4 hatch - fancy - pypi - readme expandvars cython \
163
163
164
164
165
165
${PIP_ENVARGS} PYTHONPATH = ${B} /pip -buildenv :${PYTHONPATH} ${PYTHON} -m pip install \
0 commit comments