-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (25 loc) · 826 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
from setuptools import setup, find_packages
import io
def readme():
with io.open('README.rst', encoding='utf-8') as f:
return f.read()
def requirements(filename):
reqs = list()
with io.open(filename, encoding='utf-8') as f:
for line in f.readlines():
reqs.append(line.strip())
return reqs
setup(
name="mstarpy",
packages=find_packages(),
version="2.0.0",
python_requires='>=3.10',
license='MIT License',
author="Maël Jourdain",
author_email='mael.jourdain@gmail.com',
description="Mutual funds and stocks data extraction from MorningStar with Python",
long_description= readme(),
long_description_content_type="text/markdown",
install_requires=requirements(filename='requirements/requirements.txt'),
include_package_data=True,
)