import pathlib

from setuptools import setup, find_packages

# The directory containing this file
HERE = pathlib.Path(__file__).parent

# The text of the README file
README = (HERE / "README.md").read_text()

# This call to setup() does all the work
setup(
    name="astrun",
    version="1.0.5",
    description="A safe eval using Abstract Syntax Tree",
    long_description=README,
    long_description_content_type="text/markdown",
    url="https://github.com/XiaoMutt/astrun",
    author="Xiao",
    license="MIT",
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3 :: Only",
    ],
    package_dir={"": "src"},
    packages=find_packages("src"),
    include_package_data=True,
)
