setuptools_webdav is a setuptools/distribute plugin for uploading to webdav servers that allows the upload of Python packages to webdav enabled servers.
The main goal of the plugin was to provide the ability to upload python packages to Maven2 repository's (Eg. Artifactory).
QuickStart
In order to use this plugin you need to add setuptools_webdav to the setup_requires command in your setup.py. This will instruct setuptools to download and use this plugin.
The setuptools_webdav plugin provides the webdav_upload command.
The webdav server that will be used for the upload, and the corresponding credentials, can be configured in your .pypirc in the.
Example setup.py
from setuptools import setup, find_packages
setup(
name="DummyProject",
version="3.1.4",
packages=find_packages(),
setup_requires=["setuptools_webdav"],
)
Example .pypirc
[webdav]
repository = http://example.com/pypi # mandatory
username = # Optional
password = # Optional
Example invokation
python setup.py sdist bdist webdav_upload
Requirements:
- Python
Comments not found