-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 725 Bytes
/
setup.py
File metadata and controls
30 lines (26 loc) · 725 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
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
from os import path as os_path
packages = find_packages(exclude=["tests*"])
# Package meta-data.
DESCRIPTION = "Client for Yahoo Finance data"
# Short/long description.
here = os_path.abspath(os_path.dirname(__file__))
try:
with open(os_path.join(here, "README.md"), "r", encoding="utf-8") as file:
long_desc = "\n" + file.read()
except FileNotFoundError:
long_desc = DESCRIPTION
setup(
name="yf-data",
version="0.1.7",
keywords="yahoo finance data",
description=DESCRIPTION,
packages=packages,
include_package_data=False,
zip_safe=False,
install_requires=[
"requests",
"pandas",
],
)