-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
33 lines (29 loc) · 842 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
26
27
28
29
30
31
32
33
# -*- coding: utf-8 -*-
import re
import ast
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('ynab/_version.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='pynab',
author='Ivan Smirnov',
author_email='[email protected]',
version=version,
url='http://github.com/aldanor/pynab',
packages=['ynab'],
description='A minimalistic library designed to make it easy to access YNAB data from Python.',
install_requires=[
'six',
'toolz',
'enum34',
'schematics',
'dateparser'
],
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)