Python wheel binary package

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Python wheel binary package

aw110f
Hi,

Does Artifactory support Python binary package distribution like wheel, bdist, egg, binary tarball etc...?

I tried building and uploading a numpy wheel binary and it looks like the command worked but I'm not seeing the .whl package file in artifactory.

# python3.4 setup.py bdist_wheel register -r artifactory
.....
.....
Copying numpy.egg-info to build/bdist.linux-x86_64/wheel/numpy-1.10.4-py3.4.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/numpy-1.10.4.data
creating build/bdist.linux-x86_64/wheel/numpy-1.10.4.data/scripts
copying build/scripts.linux-x86_64-3.4/f2py3.4 -> build/bdist.linux-x86_64/wheel/numpy-1.10.4.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/numpy-1.10.4.data/scripts/f2py3.4 to 755
creating build/bdist.linux-x86_64/wheel/numpy-1.10.4.dist-info/WHEEL
running register
running check
warning: check: missing meta-data: if 'author' supplied, 'author_email' must be supplied too

Registering numpy to http://pds-artifactory1:8081/artifactory/api/pypi/pypi-local
Server response (200): OK

Reply | Threaded
Open this post in threaded view
|

Re: Python wheel binary package

aw110f
Artifactory can host and distribute wheel binary packages (*.whl files) .  

./bin/pip3.4 install numpy  --index-url http://artifactory:8081/artifactory/api/pypi/pypi-local/simple
  Downloading http://artifactory.int.yp.com:8081/artifactory/api/pypi/pypi-local/packages/numpy/1.10.4/numpy-1.10.4-cp34-cp34m-linux_x86_64.whl (7.9MB)
    100% |################################| 7.9MB 11.9MB/s
Installing collected packages: numpy
Reply | Threaded
Open this post in threaded view
|

Re: Python wheel binary package

Lars Skjærlund
In reply to this post by aw110f
It works for me as you can see in this thread of mine.