Answers for "how to complie python prject as whl"

2

create python package

python3 setup.py sdist bdist_wheel
Posted by: Guest on February-13-2020
0

python setup install_requires local whl

setup(
  ...,
  install_requires=['my-package'],
  dependency_links=[
    # location to your egg file
    os.path.join(os.getcwd(), 'deps', 'my_package-1.0.0-py3.5.egg')
  ]
)
Posted by: Guest on May-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language