# setup.py
from setuptools import setup, find_packages
import os

# Function to recursively find all .pyc files
def find_pyc_files(directory):
    pyc_files = []
    for root, dirs, files in os.walk(directory):
        for file in files:
            if file.endswith(".pyc"):
                pyc_files.append(os.path.relpath(os.path.join(root, file), directory))
    return pyc_files

# Include .pyc files in the package data
package_data = {
    "my_package_shruti": find_pyc_files("my_package_shruti"),
}

setup(
    name="my_package_shruti",
    version="0.3",
    packages=find_packages(),
    package_data=package_data,  # Include .pyc files
    include_package_data=True,  # Ensure non-Python files are included
    description="A simple hello world package by Shruti (compiled)",
    author="Shruti",
    author_email="shruti@example.com",
    url="https://github.com/yourusername/my_package_shruti",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.6',
)
