
from distutils.core import setup

setup(name='psycopg-nestedtransactions',
      version='1.0',
      description='Database transaction manager for psycopg2 database connections with seamless support for nested transactions.',
      url='https://github.com/asqui/psycopg-nestedtransactions',
      packages=['nestedtransactions'],
      install_requires=['psycopg2', 'pg8000<=1.12.4;python_version<"3"'],
      extras_require=dict(
          test=['pytest', 'testing.postgresql']
      )
      )


from distutils.core import setup

setup(name='psycopg-nestedtransactions',
      version='1.0',
      description='Database transaction manager for psycopg2 database connections with seamless support for nested transactions.',
      url='https://github.com/asqui/psycopg-nestedtransactions',
      packages=['nestedtransactions'],
      install_requires=['psycopg2'],
      extras_require=dict(
          test=['pytest', 'testing.postgresql']
      )
      )

Revert "Fix Python 2.7 build" and un-pin pg8000 version on Python 2
Revert "Fix Python 2.7 build" and un-pin pg8000 version on Python 2

The underlying issue has been resolved in pg8000:
    https://github.com/tlocke/pg8000/issues/7

This reverts commit f27e5a3f.

  
  from distutils.core import setup
  
  setup(name='psycopg-nestedtransactions',
        version='1.0',
        description='Database transaction manager for psycopg2 database connections with seamless support for nested transactions.',
        url='https://github.com/asqui/psycopg-nestedtransactions',
        packages=['nestedtransactions'],
-       install_requires=['psycopg2', 'pg8000<=1.12.4;python_version<"3"'],
+       install_requires=['psycopg2'],
        extras_require=dict(
            test=['pytest', 'testing.postgresql']
        )
        )
  
Revert "Fix Python 2.7 build" and un-pin pg8000 version on Python 2
## Code Before:

from distutils.core import setup

setup(name='psycopg-nestedtransactions',
      version='1.0',
      description='Database transaction manager for psycopg2 database connections with seamless support for nested transactions.',
      url='https://github.com/asqui/psycopg-nestedtransactions',
      packages=['nestedtransactions'],
      install_requires=['psycopg2', 'pg8000<=1.12.4;python_version<"3"'],
      extras_require=dict(
          test=['pytest', 'testing.postgresql']
      )
      )

## Instruction:
Revert "Fix Python 2.7 build" and un-pin pg8000 version on Python 2
## Code After:

from distutils.core import setup

setup(name='psycopg-nestedtransactions',
      version='1.0',
      description='Database transaction manager for psycopg2 database connections with seamless support for nested transactions.',
      url='https://github.com/asqui/psycopg-nestedtransactions',
      packages=['nestedtransactions'],
      install_requires=['psycopg2'],
      extras_require=dict(
          test=['pytest', 'testing.postgresql']
      )
      )
