summaryrefslogtreecommitdiff
path: root/setup.py
blob: afff7e58a6c1ed64cdb4b7186027fea567534fb7 (plain)
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
#!/usr/bin/env python

import sys
import os

from setuptools import setup, find_packages

import metadata

metadata_ = {}
for attribute in ('version', 'author', 'author_email', 'license'):
    metadata_[attribute] = getattr(metadata, '__%s__' % attribute)

setup(
    name='calendar-cli',
    description='Simple command-line CalDav client, for adding and browsing calendar items, todo list items, etc.',
    url='https://github.com/tobixen/calendar-cli',
    #packages=['',
    #          ],
    classifiers=[
        #"Development Status :: ..."
        "Environment :: Web Environment",
        #"Intended Audience :: Developers",
        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
        "Operating System :: POSIX",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
    ],
    scripts=['calendar-cli.py', 'calendar-cli'],
    py_modules=['cal'],
    install_requires=[
        'icalendar',
        'caldav>=0.10',
#        'isodate',
        'pytz', ## pytz is supposed to be obsoleted, but see https://github.com/collective/icalendar/issues/333 
        'tzlocal',
        'Click',
        'six'
    ],
    entry_points={
        'console_scripts': [
            'kal = cal:cli',
        ],
    },
   **metadata_
)