#!/usr/bin/env python
import os
import sys
from setuptools import setup

# Damn you Guido.
assert sys.version_info.major >= 3, "Python 2.* is not supported"


def slurp(filename):
    """
    Return whole file contents as string. File is searched relative to
    directory where this `setup.py` is located.
    """
    with open(os.path.join(os.path.dirname(__file__), filename)) as f:
        return f.read()


setup(
    name               = "rvlm.paraform",
    version            = "0.0.1",
    packages           = ["rvlm", "rvlm.paraform"],
    namespace_packages = ["rvlm"],
    package_dir        = {'': "src"},
    author             = "Pavel Kretov",
    author_email       = "firegurafiku@gmail.com",
    license            = "MIT",
    url                = "https://github.com/rvlm/rvlm-paraform",
    keywords           = ["helpers"],
    requires           = ["numpy", "rvlm.labhelpers"],
    description        = (""),
    classifiers        = ["Programming Language :: Python",
                          "Programming Language :: Python :: 3",
                          "Development Status :: 2 - Pre-Alpha",
                          "Environment :: Console",
                          "Intended Audience :: Developers",
                          "Intended Audience :: Science/Research",
                          "License :: OSI Approved :: MIT License",
                          "Natural Language :: English",
                          "Operating System :: POSIX" ],
    long_description   = slurp("README.rst"))

#!/usr/bin/env python3
import os
import sys
from setuptools import setup

# Damn you Guido.
assert sys.version_info.major >= 3, "Python 2.* is not supported"


def slurp(filename):
    """
    Return whole file contents as string. File is searched relative to
    directory where this `setup.py` is located.
    """
    with open(os.path.join(os.path.dirname(__file__), filename)) as f:
        return f.read()


setup(
    name               = "rvlm.paraform",
    version            = "0.0.1",
    packages           = ["rvlm", "rvlm.paraform"],
    namespace_packages = ["rvlm"],
    package_dir        = {'': "src"},
    author             = "Pavel Kretov",
    author_email       = "firegurafiku@gmail.com",
    license            = "MIT",
    url                = "https://github.com/rvlm/rvlm-paraform",
    keywords           = ["helpers"],
    requires           = ["numpy", "rvlm.labhelpers"],
    description        = (""),
    classifiers        = ["Programming Language :: Python",
                          "Programming Language :: Python :: 3",
                          "Development Status :: 2 - Pre-Alpha",
                          "Environment :: Console",
                          "Intended Audience :: Developers",
                          "Intended Audience :: Science/Research",
                          "License :: OSI Approved :: MIT License",
                          "Natural Language :: English",
                          "Operating System :: POSIX" ],
    long_description   = slurp("README.rst"))

fix shebang to Python 3