from setuptools import setup, find_packages

# Read the long description from README.md
with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name='kite_order',  # Package name (used in pip install)
    version='0.1.7',  # Start with a version; increment as you update
    packages=find_packages(),  # Automatically find your package (kite_bracket_orders/)
    install_requires=[
        'kiteconnect>=3.0.0',  # Zerodha API library
        'gspread>=5.0.0',      # Google Sheets integration
        'oauth2client>=4.0.0', # Google auth
        'colorama>=0.4.0',     # Colored terminal output
    ],
    description='A Python module for placing bracket orders with Zerodha\'s KiteConnect API, featuring authentication, dashboard, Google Sheets integration, and customizable logging.',
    long_description=long_description,
    long_description_content_type='text/markdown',  # For README.md formatting
    author='Prasad',  # Replace with your name
    author_email='mr.xprasadx@gmail.com',  # Replace with your email
    # url='https://github.com/yourusername/kite_bracket_orders',  # Optional: GitHub repo URL
    license='MIT',  # Choose a license (e.g., MIT for open-source)
    classifiers=[
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
    ],
    python_requires='>=3.6',  # Minimum Python version
    keywords='zerodha kiteconnect trading bracket-orders api google-sheets',  # For searchability on PyPI
    include_package_data=True,  # Include non-Python files if specified in MANIFEST.in
)
