#
# -*- coding: utf-8 -*-
"""setuptools based setup for tomcatmanager

"""

from setuptools import setup, find_packages
from codecs import open
from os import path

#
# get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()

setup(
	name='tomcatmanager',
##    use_scm_version=True,
    use_scm_version={'version_scheme': 'guess-next-dev-version'},
    setup_requires=['setuptools_scm'],

	description='A command line tool and python library for managing a tomcat server.',
	long_description=long_description,

	author='Kotfu',
	author_email='kotfu@kotfu.net',
	url='https://github.com/kotfu/tomcat-manager',
	license='MIT',

	classifiers=[
	'Development Status :: 4 - Beta',
	'Environment :: Console',
	'Topic :: System :: Systems Administration',
	'Topic :: Utilities',
	'Intended Audience :: Developers',
	'Intended Audience :: System Administrators',
	'License :: OSI Approved :: MIT License',
	'Programming Language :: Python :: 3',
	'Programming Language :: Python :: 3 :: Only',
	],

	keywords='java tomcat command line',

	packages=find_packages(),

	python_requires='>=3.4',
	install_requires=['cmd2', 'requests'],
	
	# dependencies for development and testing
	# $ pip3 install -e .[dev]
	extras_require={
		'dev': ['pytest', 'sphinx', 'sphinx-autobuild', 'wheel', 'twine']
	},

	# define the scripts that should be created on installation
	entry_points={
		'console_scripts': [
			'tomcat-manager=tomcatmanager.__main__:main',
		],
	},

)

#
# -*- coding: utf-8 -*-
"""setuptools based setup for tomcatmanager

"""

from setuptools import setup, find_packages
from codecs import open
from os import path

#
# get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()

setup(
	name='tomcatmanager',
##    use_scm_version=True,
    use_scm_version=True,
    setup_requires=['setuptools_scm'],

	description='A command line tool and python library for managing a tomcat server.',
	long_description=long_description,

	author='Kotfu',
	author_email='kotfu@kotfu.net',
	url='https://github.com/kotfu/tomcat-manager',
	license='MIT',

	classifiers=[
	'Development Status :: 4 - Beta',
	'Environment :: Console',
	'Topic :: System :: Systems Administration',
	'Topic :: Utilities',
	'Intended Audience :: Developers',
	'Intended Audience :: System Administrators',
	'License :: OSI Approved :: MIT License',
	'Programming Language :: Python :: 3',
	'Programming Language :: Python :: 3 :: Only',
	],

	keywords='java tomcat command line',

	packages=find_packages(),

	python_requires='>=3.4',
	install_requires=['cmd2', 'requests'],
	
	# dependencies for development and testing
	# $ pip3 install -e .[dev]
	extras_require={
		'dev': ['pytest', 'sphinx', 'sphinx-autobuild', 'wheel', 'twine']
	},

	# define the scripts that should be created on installation
	entry_points={
		'console_scripts': [
			'tomcat-manager=tomcatmanager.__main__:main',
		],
	},

)

Fix oopsie for #22