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
import calendar_cli as my_script
metadata = {}
for attribute in ('version', 'author', 'author_email', 'license'):
if hasattr(my_script, '__%s__' % attribute):
metadata[attribute] = getattr(my_script, '__%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'],
install_requires=[
'icalendar',
'caldav>=0.6.2',
'pytz',
'tzlocal',
'six'
],
**metadata
)
|