forked from poppy-project/poppy-humanoid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applied definitive 2to3 for python>3.5
- Loading branch information
Showing
1 changed file
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env python | ||
# coding: utf8 | ||
|
||
import re | ||
import sys | ||
|
@@ -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 | ||
) |