prepare to publish
This commit is contained in:
		
							parent
							
								
									52ac5a3f94
								
							
						
					
					
						commit
						6c2aecd277
					
				
					 10 changed files with 25 additions and 22 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| COPYRIGHT AND PERMISSION NOTICE | ||||
| python setup.py register -r pypitestCOPYRIGHT AND PERMISSION NOTICE | ||||
| 
 | ||||
| Copyright (c) 2016, The WDC Project, and many | ||||
| contributors, see the THANKS file. | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| webdavclient2 | ||||
| webdavclient3 | ||||
| ============ | ||||
| 
 | ||||
| Based on https://github.com/designerror/webdav-client-python | ||||
|  |  | |||
							
								
								
									
										14
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								setup.py
									
										
									
									
									
								
							|  | @ -1,12 +1,12 @@ | |||
| #!/usr/bin/env python | ||||
| # -*- coding: utf-8 -*- | ||||
| import sys | ||||
| 
 | ||||
| from setuptools import setup, find_packages | ||||
| 
 | ||||
| from setuptools.command.test import test as TestCommand | ||||
| from setuptools.command.install import install as InstallCommand | ||||
| from setuptools.command.test import test as TestCommand | ||||
| 
 | ||||
| version = "0.1" | ||||
| version = "0.2" | ||||
| requirements = "libxml2-dev libxslt-dev python-dev" | ||||
| 
 | ||||
| 
 | ||||
|  | @ -43,7 +43,7 @@ class Test(TestCommand): | |||
|         sys.exit(errno) | ||||
| 
 | ||||
| setup( | ||||
|     name='webdavclient2', | ||||
|     name='webdavclient3', | ||||
|     version=version, | ||||
|     packages=find_packages(), | ||||
|     requires=['python (>= 2.7.6)'], | ||||
|  | @ -53,9 +53,9 @@ setup( | |||
|     cmdclass={'install': Install, 'test': Test}, | ||||
|     description='WebDAV client, based on original package https://github.com/designerror/webdav-client-python but uses requests instead of PyCURL', | ||||
|     long_description=open('README.rst').read(), | ||||
|     author='Yuriy Homyakov', | ||||
|     author_email='yuriy.homyakov@gmail.com', | ||||
|     url='https://github.com/appetito/webdav-client-python-2', | ||||
|     author='Evgeny Ezhov', | ||||
|     author_email='ezhov.evgeny@gmail.com', | ||||
|     url='https://github.com/ezhov-evgeny/webdav-client-python-2', | ||||
|     license='MIT License', | ||||
|     keywords='webdav, client, python, module, library, packet, Yandex.Disk, Dropbox, Google Disk, Box, 4shared', | ||||
|     classifiers=[ | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ from io import BytesIO, StringIO | |||
| from os import path | ||||
| from unittest import TestCase | ||||
| 
 | ||||
| from webdav2.client import Client | ||||
| from webdav3.client import Client | ||||
| 
 | ||||
| 
 | ||||
| class ClientTestCase(TestCase): | ||||
|  |  | |||
							
								
								
									
										17
									
								
								wdc
									
										
									
									
									
								
							
							
						
						
									
										17
									
								
								wdc
									
										
									
									
									
								
							|  | @ -2,18 +2,21 @@ | |||
| # PYTHON_ARGCOMPLETE_OK | ||||
| 
 | ||||
| from __future__ import print_function | ||||
| import sys | ||||
| 
 | ||||
| import argparse | ||||
| import getpass | ||||
| import os | ||||
| import platform | ||||
| import shlex | ||||
| import struct | ||||
| import platform | ||||
| import subprocess | ||||
| import getpass | ||||
| import argparse | ||||
| import argcomplete | ||||
| from webdav2.client import Client, WebDavException, NotConnection, Urn | ||||
| from distutils.util import strtobool | ||||
| import sys | ||||
| from base64 import b64decode, b64encode | ||||
| from distutils.util import strtobool | ||||
| 
 | ||||
| import argcomplete | ||||
| 
 | ||||
| from webdav3.client import Client, WebDavException, NotConnection, Urn | ||||
| 
 | ||||
| 
 | ||||
| def get_terminal_size(): | ||||
|  |  | |||
|  | @ -11,9 +11,9 @@ from re import sub | |||
| import lxml.etree as etree | ||||
| import requests | ||||
| 
 | ||||
| from webdav2.connection import * | ||||
| from webdav2.exceptions import * | ||||
| from webdav2.urn import Urn | ||||
| from webdav3.connection import * | ||||
| from webdav3.exceptions import * | ||||
| from webdav3.urn import Urn | ||||
| 
 | ||||
| try: | ||||
|     from urllib.parse import unquote | ||||
|  | @ -1,7 +1,7 @@ | |||
| from os.path import exists | ||||
| 
 | ||||
| from webdav2.exceptions import * | ||||
| from webdav2.urn import Urn | ||||
| from webdav3.exceptions import * | ||||
| from webdav3.urn import Urn | ||||
| 
 | ||||
| 
 | ||||
| class ConnectionSettings: | ||||
		Loading…
	
	Add table
		
		Reference in a new issue