Skip to content

Commit

Permalink
Update supported Python versions, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Seutter committed Dec 27, 2016
1 parent 1322496 commit 1427264
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
2 changes: 1 addition & 1 deletion ofxparse/__init__.py
Expand Up @@ -3,4 +3,4 @@
from .ofxparse import OfxParser, OfxParserException, AccountType, Account, Statement, Transaction
from .ofxprinter import OfxPrinter

__version__ = '0.14'
__version__ = '0.16'
28 changes: 7 additions & 21 deletions setup.py
Expand Up @@ -12,26 +12,11 @@
VERSION = re.search(r"__version__ = '(.*?)'",
open("ofxparse/__init__.py").read()).group(1)

# Use BeautifulSoup 3 on Python 2.5 and earlier and BeautifulSoup 4 otherwise
if sys.version_info < (2, 6):
REQUIRES = [
"beautifulSoup>=3.0",
]
else:
REQUIRES = [
"beautifulsoup4",
"lxml",
]

if sys.version_info < (2, 7):
REQUIRES.extend([
"ordereddict>=1.1",
])

REQUIRES.extend([
REQUIRES = [
"beautifulsoup4",
"lxml",
'six',
'lxml'
])
]

README = os.path.join(os.path.dirname(__file__), 'README.rst')

Expand All @@ -50,10 +35,11 @@
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 1427264

Please sign in to comment.