File: setup.py

package info (click to toggle)
python-easywebdav 1.2.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 136 kB
  • sloc: python: 251; sh: 43; makefile: 7
file content (41 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download | duplicates (3)
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
import os
import functools
from setuptools import setup, find_packages

_IN_PACKAGE_DIR = functools.partial(os.path.join, "easywebdav")

with open(_IN_PACKAGE_DIR("__version__.py")) as version_file:
    exec(version_file.read())

properties = dict(
    name="easywebdav",
    classifiers = [
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Programming Language :: Python :: 3.3",
        ],
    description="A straight-forward WebDAV client, implemented using Requests",
    license="ISC",
    author="Amnon Grossman",
    author_email="emesh1@gmail.com",
    url="http://github.com/amnong/easywebdav",
    version=__version__,  # noqa
    packages=find_packages(exclude=["tests"]),
    data_files = [],
    install_requires=[
        "requests",
        ],
    entry_points=dict(
        console_scripts=[],
        ),
    )

# Properties for development environments
if "EASYWEBDAV_DEV" in os.environ:
    properties["install_requires"].append((
        "nose",
        "yanc",
        "PyWebDAV",
        ))

setup(**properties)