Path: blob/master/ invest-robot-contest_tinvest_robot-master/setup.py
5925 views
import setuptools1import os23__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))45with open("README.md", "r") as fh:6long_description = fh.read()789def read_requirements():10reqs_path = os.path.join(__location__, 'requirements.txt')11with open(reqs_path, encoding='utf8') as f:12reqs = [line.strip() for line in f if not line.strip().startswith('#')]1314names = []15for req in reqs:16names.append(req)17return {'install_requires': names}181920setuptools.setup(21name="tinvest-robot-perevalov",22version="0.1.3",23author="Aleksandr Perevalov",24author_email="[email protected]",25description="A package that implements a news sentiment based strategy for trading using Tiknoff Invest API",26long_description=long_description,27long_description_content_type="text/markdown",28url="https://github.com/Perevalov/tinvest_robot",29packages=setuptools.find_packages(),30classifiers=[31"Programming Language :: Python",32"Programming Language :: Python :: 3.8",33"Programming Language :: Python :: 3.9",34"License :: OSI Approved :: MIT License",35"Operating System :: OS Independent",36],37python_requires='>=3.6',38**read_requirements()39)404142