diff --git a/README.rst b/README.md similarity index 89% rename from README.rst rename to README.md index f23e81c..03a51a9 100644 --- a/README.rst +++ b/README.md @@ -1,16 +1,13 @@ -webdavclient3 -============= - -.. image:: https://travis-ci.com/ezhov-evgeny/webdav-client-python-3.svg?branch=develop - :target: https://travis-ci.com/ezhov-evgeny/webdav-client-python-3 - +webdavclient3 [![Build Status](https://travis-ci.com/ezhov-evgeny/webdav-client-python-3.svg?branch=develop)](https://travis-ci.com/ezhov-evgeny/webdav-client-python-3) [![PyPI](https://img.shields.io/pypi/v/webdavclient3)](https://pypi.org/project/webdavclient3/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/webdavclient3) +========= Based on https://github.com/designerror/webdav-client-python But uses `requests` instead of `PyCURL` Sample Usage -____________ - +------------ +`pip install webdavclient3` +``` >>> from webdav3.client >>> options = { ... webdav_hostname : @@ -22,12 +19,11 @@ ____________ >>> client.session.proxies(...) # To set proxy directly into the session (Optional) >>> client.session.auth(...) # To set proxy auth directly into the session (Optional) >>> client.execute_request("mkdir", ) - - +``` Release Notes -============= -**Version 0.13 – TBD** +------------- +**Version 0.13 – 27.11.2019** * Main version of Python is updated up to 3.7 * Switch to use python sessions rather than requests by https://github.com/delrey1 * Stripping suburl from paths in extract_response_for_path by https://github.com/Skeen diff --git a/setup.py b/setup.py index 3ca4460..d278cc7 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import setup, find_packages from setuptools.command.install import install as InstallCommand from setuptools.command.test import test as TestCommand -version = "0.12" +version = "0.13" requirements = "libxml2-dev libxslt-dev python-dev" @@ -43,9 +43,9 @@ class Test(TestCommand): sys.exit(errno) try: - long_description = open('README.rst', encoding="utf-8").read() + long_description = open('README.md', encoding="utf-8").read() except TypeError: - long_description = open('README.rst').read() + long_description = open('README.md').read() setup( name='webdavclient3', @@ -60,6 +60,7 @@ setup( description='WebDAV client, based on original package https://github.com/designerror/webdav-client-python but ' 'uses requests instead of PyCURL', long_description=long_description, + long_description_content_type='text/markdown', author='Evgeny Ezhov', author_email='ezhov.evgeny@gmail.com', url='https://github.com/ezhov-evgeny/webdav-client-python-3', @@ -72,15 +73,7 @@ setup( 'Operating System :: MacOS', 'Operating System :: Microsoft', 'Operating System :: Unix', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.0', - 'Programming Language :: Python :: 3.1', - 'Programming Language :: Python :: 3.2', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Internet', 'Topic :: Software Development :: Libraries :: Python Modules',