forked from mintapi/mintapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
25 lines (23 loc) · 799 Bytes
/
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
# new version to pypi => python setup.py sdist upload
import os
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
readme = os.path.join(os.path.dirname(__file__), 'README.md')
setup(
name='mintapi',
description='a screen-scraping API for Mint.com',
long_description=read_md(readme) if os.path.exists(readme) else '',
version='1.4',
packages=['mintapi'],
scripts=['bin/mintapi'],
license='The MIT License',
author='Michael Rooney',
author_email='[email protected]',
url='https://github.com/mrooney/mintapi',
install_requires=['requests'],
)