setuptools vs. distutils and python versions
Artifactory is agnostic to whether you use setuptools
or distutils
, and also to the version or implementation of Python your project uses.
The following instruction were written for Python 2.7 and setuptools
in mind. Using different version of Python, or different tools such zest, distutils
and others may require minor modification to the instructions below.
Uploading to Artifactory using a setup.py
script is supported in a similar way to uploading to PyPI. First, you need to add Artifactory as an index server for your user.
For instructions on using setuptools to package Python projects and create a setup.py
script, please refer to the setuptools documentation and this tutorial project.