import setuptools

with open("README.md", "r") as fh:
    long_description = fh.read()

# get version
env = {}
with open("fica/version.py") as f:
    exec(f.read(), env)
version = env["__version__"]

# get requirements
with open("requirements.txt") as f:
    install_requires = f.readlines()

setuptools.setup(
    name = "fica",
    version = version,
    author = "Christopher Pyles",
    description = "User configuration manager and documenter",
    long_description = long_description,
    long_description_content_type = "text/markdown",
    url = "https://github.com/chrispyles/fica",
    license = "MIT",
    packages = setuptools.find_packages(exclude=["tests"]),
    classifiers = [
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    install_requires=install_requires,
)
