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

# The MIT License (MIT)
#
# Copyright (c) <2011-2015> <Shibzukhov Zaur, szport at gmail dot com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#

import sys as _sys
_PY36 = _sys.version_info[:2] >= (3, 6)

from setuptools import setup
from setuptools.command.build_ext import build_ext
from setuptools.extension import Extension

ext_modules = [
    Extension(
        "trafaretrecord.memoryslots",
        ["src/trafaretrecord/memoryslots.c"]
    ),
]

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

requirements = [
    # TODO: put package requirements here
]

test_requirements = [
    'pytest>=3.0.7,<3.1'
]


setup(
    name='trafaretrecord',
    version='0.1.0',
    description='Fork of recordclass (mutable variant of collections.namedtuple, which supports assignments)',
    long_description=readme + '\n\n' + history,
    author='Vladimir Bolshakov',
    author_email='vovanbo@gmail.com',
    url='https://github.com/vovanbo/trafaretrecord',
    packages=[
        'trafaretrecord',
    ],
    package_dir={'': 'src'},
    include_package_data=True,
    install_requires=requirements,
    license="MIT License",
    zip_safe=False,
    cmdclass={'build_ext': build_ext},
    ext_modules=ext_modules,
    download_url='https://github.com/vovanbo/trafaretrecord',
    platforms='Linux, Mac OS X, Windows',
    keywords=['namedtuple', 'record', 'struct'],
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    test_suite='tests',
    tests_require=test_requirements
)

@@ -1201,68 +1201,8 @@
 %0A#%0A%0A
-import sys as _sys%0A_PY36 = _sys.version_info%5B:2%5D %3E= (3, 6)%0A%0A
 from
@@ -1620,45 +1620,17 @@
     
-# TODO: put package requirements here
+'typing',
 %0A%5D%0A%0A
@@ -1670,16 +1670,9 @@
 %3E=3.
-0.7,%3C3.1
+2
 '%0A%5D%0A
@@ -1765,16 +1765,35 @@
 rdclass 
+'%0A                '
 (mutable
@@ -1828,16 +1828,35 @@
 dtuple, 
+'%0A                '
 which su

Add typing and update pytest in setup requirements