Ivy is packaged as a python "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
$ python setup.py bdist_wheel --plat-name manylinux1_x86_64
-
for Windows:
win_amd64
$ python setup.py bdist_wheel --plat-name win_amd64
-
for MacOS 10.15:
macosx_10_15_x86_64
$ python setup.py bdist_wheel --plat-name macosx_10_15_x86_64
The distribution is created as a
.whl
file in directorydist
. -
-
Upload a wheel like this:
$ pip install twine $ twine upload dist/*
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