#!/usr/bin/env python from setuptools import setup, find_packages from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='*****@*****.**', platforms='Independent', url='https://github.com/berkerpeksag/astor', packages=find_packages(exclude=['tests']), py_modules=['setuputils'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3',
'pandas==0.16.2;python_version<"2.7"', 'pandas;python_version>="2.7"', 'matplotlib<1.5;python_version<"2.7"', 'matplotlib>2.0.0,<2.1;python_version>="2.7"', ] TEST_REQUIRES = ['pytest>=3.0'] SETUP_REQUIRES = ['pytest-runner'] setup(name=PROJECT_NAME, author=AUTHOR, author_email=AUTHOR_EMAIL, version=VERSION, description=DESCRIPTION, long_description=read('README.rst'), url=URL, license=LICENSE, packages=find_packages(), package_data={'skhep': ['data/*.*']}, py_modules=['setuputils'], install_requires=INSTALL_REQUIRES, test_requires=TEST_REQUIRES, setup_requires=SETUP_REQUIRES, classifiers=[ 'Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'Topic :: Software Development', 'Topic :: Scientific/Engineering', 'Topic :: Utilities', 'Operating System :: POSIX',
sys.path.append(os.path.pardir) import setuputils extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'astor' copyright = u'2013-%s, Berker Peksag' % time.strftime('%Y') version = release = setuputils.read('astor/VERSION') exclude_patterns = ['_build'] pygments_style = 'sphinx' try: import sphinx_rtd_theme except ImportError: html_theme = 'default' else: html_theme = 'sphinx_rtd_theme' html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] htmlhelp_basename = 'astordoc'