#!/usr/bin/env python
# -*- coding: utf-8 -*-


try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

requirements = ['numpy>=1.9.1', 'cosmolopy', 'scipy>=0.15.1']

test_requirements = ['numpy>=1.9.1', 'cosmolopy', 'scipy>=0.15.1']

setup(
    name='commah',
    version='0.1.0',
    description='Get concentration - mass and accretion history for any cosmology',
    long_description=readme + '\n\n' + history,
    author='Alan Duffy',
    author_email='mail@alanrduffy.com',
    url='https://github.com/astroduff/commah',
    download_url='https://github.com/astroduff/commah/tarball/0.1',
    packages=['commah'],
    package_dir={'commah/': ''},
    include_package_data=True,
    install_requires=requirements,
    license="BSD",
    zip_safe=False,
    keywords=['commah','cosmology','astronomy','NFW','concentration','accretion'],
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
    test_suite='tests',
    tests_require=test_requirements
)

#!/usr/bin/env python
# -*- coding: utf-8 -*-


try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

requirements = ['numpy>=1.9.1', 'cosmolopy', 'scipy>=0.15.1']

test_requirements = []

setup(
    name='commah',
    version='0.1.0',
    description='Get conc - mass or accretion history for any cosmology',
    long_description=readme + '\n\n' + history,
    author='Alan Duffy',
    author_email='mail@alanrduffy.com',
    url='https://github.com/astroduff/commah',
    download_url='https://github.com/astroduff/commah/tarball/0.1',
    packages=['commah'],
    package_dir={'commah/': ''},
    include_package_data=True,
    install_requires=requirements,
    license="BSD",
    zip_safe=False,
    keywords=['commah','cosmology','astronomy','NFW','concentration','accretion'],
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
    test_suite='tests',
    tests_require=test_requirements
)

Test pypi upload