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

import sys
import os

from setuptools import setup, find_packages

from calendar_cli.metadata import metadata
metadata_ = metadata.copy()

for x in metadata:
    if not x in ('author', 'version', 'license', 'maintainer', 'author_email',
                 'status', 'name', 'description', 'url', 'description'):
        metadata_.pop(x)

setup(
    packages=['calendar_cli',
              ],
    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=['bin/calendar-cli.py', 'bin/calendar-cli'],
    install_requires=[
        'icalendar',
        'caldav>=0.12-dev0',
#        'isodate',
        'pytz', ## pytz is supposed to be obsoleted, but see https://github.com/collective/icalendar/issues/333 
        'tzlocal',
        'Click',
        'six'
    ],
   **metadata_
)