from pathlib import Path

from setuptools import setup, find_packages


__version__ = '6.0.0'


with open('requirements.txt') as f:
    requires = [line.strip() for line in f if line.strip()]

url = 'https://github.com/pmaigutyak/mp-flatpages'
readme = Path(__file__).with_name('README.md').read_text(encoding='utf-8')

setup(
    name='django-mp-flatpages',
    version=__version__,
    description='Django flatpages app',
    long_description=readme,
    long_description_content_type='text/markdown',
    author='Paul Maigutyak',
    author_email='pmaigutyak@gmail.com',
    url=url,
    download_url='%s/archive/%s.tar.gz' % (url, __version__),
    packages=find_packages(),
    include_package_data=True,
    license='MIT',
    install_requires=requires,
)
