-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (29 loc) · 924 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (29 loc) · 924 Bytes
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
import io
from setuptools import setup
# Version
version = open('VERSION.txt').read()
# Long description
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description = long_description.replace("\r", "")
except (OSError, ImportError):
print("Pandoc not found. Conversion of README.md to rst not available.")
with io.open('README.md', encoding="utf-8") as f:
long_description = f.read()
# Setup
setup(name='intrinio',
version=version,
description='Intrinio API client',
long_description=long_description,
keywords=['intrinio', 'API', 'data', 'client', 'quant', 'finance'],
url='https://github.com/nhedlund/intrinio',
author='nhedlund',
license='MIT',
packages=['intrinio'],
zip_safe=False,
install_requires=[
'pandas >= 0.14',
'numpy >= 1.8',
'requests >= 2.7.0']
)