from setuptools import find_packages, setup
import os

# Read the README file for long description
def read_readme():
    readme_path = os.path.join(os.path.dirname(__file__), "README.md")
    if os.path.exists(readme_path):
        with open(readme_path, "r", encoding="utf-8") as f:
            return f.read()
    return ""

setup(
    name="enventory",
    version="0.0.3",
    packages=find_packages(),
    python_requires=">=3.8",
    
    # Basic metadata
    description="A lightweight Python utility for loading and retrieving environment variables",
    long_description=read_readme(),
    long_description_content_type="text/markdown",
    
    # Author information
    author="Bec",
    author_email="",  # Add your email here
    
    # Project URLs
    url="https://github.com/becurrie/enventory",  # Update with actual GitHub URL
    project_urls={
        "Bug Reports": "https://github.com/becurrie/enventory/issues",
        "Source": "https://github.com/becurrie/enventory",
        "Documentation": "https://github.com/becurrie/enventory#readme",
    },
    
    # Dependencies
    install_requires=[],
    
    # Keywords for PyPI search
    keywords=[
        "environment", "env", "dotenv", "configuration", "settings", 
        "environment-variables", "config", "utilities"
    ],
    
    # Classifiers for PyPI categorization
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: System :: Systems Administration",
        "Topic :: Utilities",
    ],
    
    # Additional metadata
    license="MIT",
    zip_safe=False,
    include_package_data=True,
)
