-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
44 lines (40 loc) · 1.58 KB
/
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
36
37
38
39
40
41
42
43
44
import os
from setuptools import setup, find_packages
from pkg_resources import parse_requirements
# Read requirements from requirements.txt
with open('requirements.txt') as f:
requirements = [str(req) for req in parse_requirements(f)]
# get the version
version = None
with open(os.path.join('DiscordAlertsTrader', '__init__.py'), 'r') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('\'')
break
setup(
name='DiscordAlertsTrader',
version='1.0.2',
author='Adonay Nunes',
author_email='adonays.nunes@gmail.com',
description='Package for automating discord trade alerts in TDA or eTrade.',
license='BSD (3-clause)',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='',
download_url='https://github.com/AdoNunes/DiscordAlertsTrader',
packages=find_packages(),
install_requires=requirements,
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.9',
'Topic :: Communications :: Chat',
'Topic :: Office/Business :: Financial',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Information Technology',
'Operating System :: Microsoft :: Windows',
],
entry_points = {'console_scripts': ['DiscordAlertsTrader = DiscordAlertsTrader.gui:gui'],
}
)