How to create a whl which includes another b.whl, and Then, when installing a.whl, also install b.whl automatically(b.whl is not released to pypi)) #3559
Replies: 3 comments 12 replies
-
Hi @yudonghai. Currently, You can use If you really want, you can use But once your installer (e.g. If you are looking for an alternative, you can try something like: |
Beta Was this translation helpful? Give feedback.
-
@abravalheri thanks. I think I can download and decompress b.whl, then build the whl to include a and b to one whl. then we can create a.whl to include two pachages(a, and b). when installing this whl, we can see the top level will be the following. Maybe it's a better way?
|
Beta Was this translation helpful? Give feedback.
-
thanks @abravalheri and @webknjaz If use this |
Beta Was this translation helpful? Give feedback.
-
setuptools version
any
Python version
python 3.9
OS
macOS
Additional environment information
NA
Description
I want to push a whl package, and it includes another whl file, for example, b.whl is packaged in to a.whl. when install the a.whl, Can b.whl be installed automatically too?
I don't want release another b.whl to pypi.
for example, two whl files(a.whl and b.whl), b.whl in the package_data of a, but when installing a.whl, the b.whl is only put the installation path, how to trigger it's installation automatically?
thanks
Expected behavior
Can work
How to Reproduce
I want to push a whl package, and it includes another whl file, for example, b.whl is packaged in to a.whl. when install the a.whl, Can b.whl be installed automatically too?
I don't want release another b.whl to pypi.
for example, two whl files(a.whl and b.whl), b.whl in the package_data of a, but when installing a.whl, the b.whl is only put the installation path, how to trigger it's installation automatically?
thanks
Output
NA
Beta Was this translation helpful? Give feedback.
All reactions