# -*- coding: utf-8 -*-
"""
- Use 'python3 setup.py sdist' in a terminal to create the package.  
- Use 'twine upload --repository-url https://upload.pypi.org/legacy/ dist/*' to upload the package on pypi.  
"""
from setuptools import setup, find_packages
from _version import __version__

if input('Have you checked that this library is ready to be packed? [y/N] ')[0].lower() == 'y':
    classifiers = [
        'Development Status :: 1 - Planning',
        'Intended Audience :: Customer Service',
        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: End Users/Desktop',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.9'
        
    ]

    setup(
        name='mcwpy',
        version=__version__,
        description='A new way to create Minecraft datapacks',
        long_description=open('README.md').read() + '\n\n' + open('CHANGELOG.md').read(),
        long_description_content_type='text/markdown',
        author='Vianpyro',
        author_email='vianney.veremme@gmail.com',
        url='https://github.com/vianneyveremme/minecraft_with_python',
        license='MIT',
        keywords=['Minecraft', 'Datapack', 'Function', 'MCFunction'],
        classifiers=classifiers,
        packages=find_packages(exclude=['tests']),
        install_requires=open('REQUIREMENTS.txt').read(),
        zip_safe=False
    )
else:
    input('Please run "verify_setup.py" before packaging.')