forked from mar10/wsgidav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
82 lines (70 loc) · 3.14 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
# If true, then the svn revision won't be used to calculate the
# revision (set to True for real releases)
import os
RELEASE = False
from wsgidav.version import __version__
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
# 'setup.py upload' fails on Vista, because .pypirc is searched on 'HOME' path
if not "HOME" in os.environ and "HOMEPATH" in os.environ:
os.environ.setdefault("HOME", os.environ.get("HOMEPATH", ""))
print "Initializing HOME environment variable to '%s'" % os.environ["HOME"]
setup(name="WsgiDAV",
version = __version__,
author = "Martin Wendt, Ho Chun Wei",
author_email = "wsgidav@wwwendt.de",
maintainer = "Martin Wendt",
maintainer_email = "wsgidav@wwwendt.de",
url = "https://github.com/mar10/wsgidav/",
description = "Generic WebDAV server based on WSGI",
long_description="""\
WsgiDAV is a WebDAV server for sharing files and other resources over the web.
It is based on the WSGI interface <http://www.python.org/peps/pep-0333.html>.
It comes bundled with a simple WSGI web server.
*This package is based on PyFileServer by Ho Chun Wei.*
Project home: https://github.com/mar10/wsgidav/
""",
#Development Status :: 2 - Pre-Alpha
#Development Status :: 3 - Alpha
#Development Status :: 4 - Beta
#Development Status :: 5 - Production/Stable
classifiers = ["Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords = "web wsgi webdav application server",
# platforms=["Unix", "Windows"],
license = "The MIT License",
# install_requires = ["lxml"],
packages = find_packages(exclude=[]),
py_modules = ["ez_setup", ],
# package_data={"": ["*.txt", "*.html", "*.conf"]},
# include_package_data = True, # TODO: PP
zip_safe = False,
extras_require = {},
tests_require = ["nose", # run nosetests
"Paste", # paste.fixture.TestApp
],
# test_suite = "tests.test_all.run",
test_suite = "nose.collector",
entry_points = {
"console_scripts" : ["wsgidav = wsgidav.server.run_server:run"],
},
# TODO: PP:
# entry_points = """
# [paste.app_factory]
# main = wsgidav.wsgiapp:make_app
# """,
)