#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import configparser
from setuptools import setup

here = os.path.abspath(os.path.dirname(__file__))

about = {}
with open(os.path.join(here, "salesforce_expense", "__init__.py"), "r") as f:
    exec(f.read(), about)


config = configparser.ConfigParser()
config.read("Pipfile")
requirements = [
        requirement for requirement in config["packages"]
        if requirement != ""
    ]


setup(
    name=about["__title__"],
    version=about["__version__"],
    description=about["__description__"],
    long_description="Check on {}".format(about["__url__"]),
    author=about["__author__"],
    author_email=about["__author_email__"],
    maintainer=about["__maintainer__"],
    maintainer_email=about["__maintainer_email__"],    
    license=about["__license__"],
    url=about["__url__"],
    packages=["salesforce_expense",],
    entry_points={
        "console_scripts": [
            "expense = salesforce_expense.cli:cli"
        ],
    },
    include_package_data=True,
    install_requires=requirements,
    zip_safe=False,
    keywords=about["__keywords__"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "Environment :: Console",
        "Programming Language :: Python :: 3.6",
    ]
)
