-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
107 lines (85 loc) · 2.5 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/usr/bin/env python
try:
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
pass
from setuptools import setup, find_packages
import os
import pywebdav
CHANGES = open(os.path.join(os.path.dirname(__file__), 'doc/Changes'),
'r').read()
DOC = """
WebDAV library for python.
Consists of a *server* that is ready to run
Serve and the DAV package that provides WebDAV server(!) functionality.
Currently supports
* WebDAV level 1
* Level 2 (LOCK, UNLOCK)
* Experimental iterator support
It plays nice with
* Mac OS X Finder
* Windows Explorer
* iCal
* cadaver
* Nautilus
This package does *not* provide client functionality.
Installation
============
After installation of this package you will have a new script in you
$PYTHON/bin directory called *davserver*. This serves as the main entry point
to the server.
Examples
========
Example (using easy_install)::
easy_install PyWebDAV
davserver -D /tmp -n
Example (unpacking file locally)::
tar xvzf PyWebDAV-$VERSION.tar.gz
cd pywebdav
python setup.py develop
davserver -D /tmp -n
For more information: http://code.google.com/p/pywebdav/
Changes
=======
%s
""" % CHANGES
setup(name='PyWebDAV',
description=pywebdav.__doc__,
author=pywebdav.__author__,
author_email=pywebdav.__email__,
maintainer=pywebdav.__author__,
maintainer_email=pywebdav.__email__,
url='http://code.google.com/p/pywebdav/',
platforms=['Unix', 'Windows'],
license=pywebdav.__license__,
version=pywebdav.__version__,
long_description=DOC,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
],
keywords=['webdav',
'server',
'dav',
'standalone',
'library',
'gpl',
'http',
'rfc2518',
'rfc 2518'
],
packages=find_packages(),
zip_safe=False,
entry_points={
'console_scripts': ['davserver = pywebdav.server.server:run']
}
)