-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (31 loc) · 988 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
34
35
from setuptools import setup, find_packages
from typing import List
def get_requirements(filename):
'''
args:
filename: name of the file containing the list of requirements
returns:
list of requirements
summary:
reads the file and returns the list of requirements
'''
requirements = []
with open(filename, 'r') as f:
for line in f.readlines():
requirements.append(line.strip())
if '-e .' in requirements:
requirements.remove('-e .')
return requirements
#setup
setup(
name='Bd_stock_market',
version='1.0',
packages=find_packages(),
include_package_data=True,
install_requires=get_requirements('requirements.txt'),
author='Amzad hossain rafi ',
author_email='amzad.rafi@northsouth.edu',
description='A simple stock market app',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
)