import io import os try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages def read(*names, **kwargs): """Read a file.""" return io.open( os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get('encoding', 'utf8') ).read() setup( name='dynaconf', version="0.5.6", url='https://github.com/rochacbruno/dynaconf', license='MIT', author="Bruno Rocha", author_email="rochacbruno@gmail.com", description='The dynamic configurator for your Python Project', long_description=read("README.md"), long_description_content_type='text/markdown', packages=find_packages(), include_package_data=True, zip_safe=False, platforms='any', install_requires=['six', 'python-box', 'python-dotenv'], tests_require=[ "pytest", "pytest-cov", "flake8", "pep8-naming", "flake8-debugger", "flake8-print", "flake8-todo", "radon", "flask>=0.12", "python-dotenv" ], extras_require={ "redis": ['redis'], "yaml": ['PyYAML'], "toml": ['toml'], "ini": ['configobj'], "configobj": ['configobj'], "all": ['redis', 'PyYAML', 'toml', 'configobj'], }, setup_requires=['setuptools>=38.6.0'], classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Operating System :: POSIX', 'Operating System :: POSIX :: Linux', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ] )