How to use the technical.__version__ function in technical

To help you get started, we’ve selected a few technical examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github freqtrade / technical / setup.py View on Github external
from setuptools import find_packages, setup

from technical import __version__

if version_info.major == 3 and version_info.minor < 6 or \
        version_info.major < 3:
    print('Your Python interpreter must be 3.6 or greater!')
    exit(1)

readme_file = Path(__file__).parent / "README.md"
readme_long = "Technical Indicators for financial analysis"
if readme_file.is_file():
    readme_long = (Path(__file__).parent / "README.md").read_text()

setup(name='technical',
      version=__version__,
      description='Technical Indicators for financial analysis',
      long_description=readme_long,
      long_description_content_type="text/markdown",
      url='https://github.com/freqtrade/technical',
      author='Freqtrade Team',
      author_email='berlinguyinca@gmail.com',
      license='GPLv3',
      packages=find_packages(),
      setup_requires=['pytest-runner'],
      tests_require=['pytest', 'pytest-cov', 'pytest-mock'],
      install_requires=[
          'TA-Lib',
          'pyti',
          'pandas',
          'arrow',
          'SQLAlchemy'