"""Setup testing utilities.""" from setuptools import find_packages, setup from abacus_etl_tools import __version__ def read_requirements(path): """Read requirements from file based on file path provided.""" with open(path, 'r') as fd: requirements = [ req.strip() for req in fd.readlines() if not req.startswith('-')] return requirements setup( name='abacus_etl_tools', version=__version__, description='ETL scripts for abacus data.', author='The Orchard', author_email='webdev@theorchard.com', url='https://github.com/theorchard/', packages=find_packages(), include_package_data=True, test_suite='tests', entry_points={ 'console_scripts': [ 'store_sync_sf_to_s3=abacus_etl_tools.sync_stores:main', 'transaction_type_sync_sf_to_s3=abacus_etl_tools.sync_transaction_types:main' # noqa: E501 ], }, zip_safe=False, install_requires=[read_requirements('requirements.txt')] )