import os
from setuptools import setup, find_packages

def get_long_description():
    with open("README.md", "r") as fh:
        return fh.read()

def get_name():
    return 'factum'

def get_version():
    return '0.0.1'

setup(
    name=get_name(),
    version=get_version(),
    description='a simple agent-inspired DAG composition and execution framework',
    long_description=get_long_description(),
    long_description_content_type="text/markdown",
    packages=[f'{get_name()}.{p}' for p in find_packages(where=get_name())],
    install_requires=[
        'networkx',
        'matplotlib',
    ],
    python_requires='>=3.5.2',
    author='Jordan Miller',
    author_email="paradoxlabs@protonmail.com",
    url="https://github.com/propername/factum",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
    ],
    # scripts=[f for f in findall(dir='fact/bin') if f.endswith('.py')],
    entry_points={},
)
