Commit 00efdffe authored by Tres Seaver's avatar Tres Seaver

Drop support for Python 2.5.

parent 051af14e
``zodburi`` Changelog
=====================
Unreleased
----------
- Dropped support for Python 2.5.
1.1 (2012-09-12)
----------------
......
......@@ -7,7 +7,7 @@ Overview
A library which parses URIs and converts them to ZODB storage objects and
database arguments.
It will run under CPython 2.5, 2.6, and 2.7. It will not run under PyPy or
It will run under CPython 2.6, and 2.7. It will not run under PyPy or
Jython. It requires ZODB >= 3.10.0.
Installation
......
import os
import sys
from setuptools import setup
from setuptools import find_packages
......@@ -7,25 +6,29 @@ from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
try:
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
except:
CHANGES = ''
requires = ['ZODB3']
if sys.version_info[:2] < (2, 6):
requires.insert(0, 'zope.interface>=3.6.0,<4.0dev')
requires.insert(0, 'transaction<1.2')
tests_require = requires + ['mock']
setup(name='zodburi',
version='1.1',
version='1.2dev',
description=('Constructs ZODB storage instances from URIs.'),
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"License :: Repoze Public License",
],
keywords='zodb zodbconn',
......
[tox]
envlist =
py25,py26,py27,cover
py26,py27,cover
[testenv]
commands =
python setup.py test -q
[testenv:py25]
deps =
zope.interface>=3.6.0,<4.0dev
transaction<1.2
commands =
python setup.py test -q
[testenv:cover]
basepython =
python2.6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment