Update readme and setup
This commit is contained in:
parent
c3a15dd145
commit
a3a8e31059
2 changed files with 12 additions and 23 deletions
|
@ -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 [](https://travis-ci.com/ezhov-evgeny/webdav-client-python-3) [](https://pypi.org/project/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 : <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", <directory_name>)
|
||||
|
||||
|
||||
```
|
||||
|
||||
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
|
15
setup.py
15
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',
|
||||
|
|
Loading…
Add table
Reference in a new issue