forked from lucc/khard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (43 loc) · 1.4 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
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
# tutorials:
# - https://packaging.python.org/en/latest/distributing.html
# - https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
import os
import sys
from setuptools import setup
from khard.version import khard_version
required_modules = ['atomicwrites', 'configobj', 'pyyaml', 'vobject']
if sys.version_info[0] == 2 and sys.version_info[1] <= 6:
required_modules.append('argparse')
setup(
name = 'khard',
version = khard_version,
author = 'Eric Scheibler',
author_email = '[email protected]',
url = 'https://github.com/scheibler/khard/',
description = 'A console carddav client',
long_description = open('README.md').read(),
license = 'GPL',
keywords = 'Carddav console addressbook',
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Topic :: Utilities",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX",
"Programming Language :: Python :: 2 :: Only",
],
packages = [
'khard',
'davcontroller'
],
entry_points = {
'console_scripts': [
'khard = khard.khard:main',
'davcontroller = davcontroller.davcontroller:main',
]
},
install_requires = required_modules,
)