-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (38 loc) · 1.03 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
import sys
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
prjdir = os.path.dirname(__file__)
__version__ = ''
def read(filename):
return open(os.path.join(prjdir, filename)).read()
exec(open('keepcli/version.py').read())
try:
with open('requirements.txt') as f:
required = f.read().splitlines()
except:
required = []
try:
pkgs = find_packages()
except NameError:
pkgs = ['keepcli']
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup(
name='keepcli',
version=__version__,
author='Matias Carrasco Kind',
author_email='[email protected]',
scripts=['bin/keepcli'],
packages=pkgs,
license='LICENSE.txt',
description='Simple unofficial Google Keep Interactive Command Line Interpreter',
long_description=long_description,
url='https://github.com/mgckind/keepcli',
install_requires=required,
)