Skip to content

Commit

Permalink
Remove depreacted use2to3 option from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Bavoux committed Sep 7, 2021
1 parent b191851 commit 43224f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@
print('You seem to be using a release. Please use the release tarball from PyPI instead of the archive from GitHub')
sys.exit(1)

extra = {}
if sys.version_info[0] >= 3:
install_requires = ['Flask>=0.10.1', 'python3-openid>=2.0']
extra['use_2to3'] = True
else:
install_requires = ['Flask>=0.3', 'python-openid>=2.0']

Expand All @@ -55,6 +53,5 @@
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
**extra
]
)

0 comments on commit 43224f9

Please sign in to comment.