зеркало из https://github.com/microsoft/ivy.git
918 B
918 B
Packaging instructions
Ivy is packaged as a python "wheel".
Building and uploading a wheel
-
Install Ivy as usual (see
doc/install.md
) -
Set the version nummber in
setup.py
-
Build a wheel like this:
$ python setup.py bdist_wheel --plat-name <platform-name>
where
<platform-name>
is:- for linux:
manylinux1_x86_64
- for Windows:
win_amd64
- for MacOS 10.9:
macosx_10_9_x86_64
The distribution is created as a
.whl
file in directorydist
. - for linux:
-
Upload a wheel like this:
$ pip install twine $ twin upload dist/*
Debian/Ubuntu
It is also possible to build a debian package, though this is obsolete.
- Rename this directory to ms-ivy-X.Y where X.Y is the version number
- Edit the files in debian/ to reflect the current version number
- Run 'make builddeb'
- The .deb file appears in the parent directory