如何将包添加到真正的 python 已知包列表?
How to add package to graalpython known packges list?
graalpython -m ginstall install --help
将列出 graalpython:
已知的包
Known packages are pytest, pytest_parallel, py, attrs, pyparsing, packaging, more_itertools, atomicwrites, pluggy, zipp, wcwidth, PyYAML, six, Cython, setuptools, pkgconfig, wheel, protobuf,
Keras_preprocessing, gast, astor, absl_py, mock, Markdown, Werkzeug, h5py, sortedcontainers, hypothesis, setuptools_scm, numpy, dateutil, certifi, idna, chardet, urllib3, requests, lightfm, pytz, pandas, scipy,
cycler, cppy, cassowary, Pillow, matplotlib
如何向该列表添加新包?
The list is basically hardcoded in the script.
https://github.com/oracle/graalpython/commit/ffbeafec0387d22491b9c2ca088ad10543d1de61
ginstall is defined here: https://github.com/oracle/graalpython/blob/master/graalpython/lib-graalpython/modules/ginstall.py
取自https://github.com/oracle/graalpython/issues/230#issuecomment-882343669
graalpython -m ginstall install --help
将列出 graalpython:
Known packages are pytest, pytest_parallel, py, attrs, pyparsing, packaging, more_itertools, atomicwrites, pluggy, zipp, wcwidth, PyYAML, six, Cython, setuptools, pkgconfig, wheel, protobuf,
Keras_preprocessing, gast, astor, absl_py, mock, Markdown, Werkzeug, h5py, sortedcontainers, hypothesis, setuptools_scm, numpy, dateutil, certifi, idna, chardet, urllib3, requests, lightfm, pytz, pandas, scipy,
cycler, cppy, cassowary, Pillow, matplotlib
如何向该列表添加新包?
The list is basically hardcoded in the script.
https://github.com/oracle/graalpython/commit/ffbeafec0387d22491b9c2ca088ad10543d1de61
ginstall is defined here: https://github.com/oracle/graalpython/blob/master/graalpython/lib-graalpython/modules/ginstall.py
取自https://github.com/oracle/graalpython/issues/230#issuecomment-882343669