Skip to content

Commit

Permalink
Applied definitive 2to3 for python>3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ymollard committed Jun 24, 2020
1 parent 1349d10 commit 58dbc7e
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions software/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# coding: utf8

import re
import sys
Expand All @@ -12,27 +11,21 @@ def version():
return re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read()).group(1)


extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True


setup(name='poppy-humanoid',
version=version(),
packages=find_packages(),

install_requires=['pypot >= 3.2.0'],
install_requires=['pypot >= 4.0.0'],

include_package_data=True,
exclude_package_data={'': ['README', '.gitignore']},

zip_safe=False,

author='See https://github.com/poppy-project/poppy-humanoid/graphs/contributors',
author_email='[email protected]',
author='Poppy Station',
author_email='[email protected]',
description='Poppy Humanoid Software Library',
url='https://github.com/poppy-project/poppy-creature',
url='https://poppy-project.org',
license='GNU GENERAL PUBLIC LICENSE Version 3',

**extra
)

0 comments on commit 58dbc7e

Please sign in to comment.