Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

issue [#691] Using Python3 and 2 #693

Merged
merged 5 commits into from Mar 2, 2017
Merged

Conversation

aitormf
Copy link
Collaborator

@aitormf aitormf commented Feb 23, 2017

I have created some macros to install our python libs for python 3 and 2.

  • usePython:allows to us change between python versions:
usePython(majorVersion)
  • configure_file_python: configure file for python2 and python3:
configure_file_python(input output)
  • configure_module_python: configure all files of a module for python2 and python3:
configure_module_python(module)
  • copy_to_binary_python: copy all files of python module to build directory for python2 and python3:
add_custom_target(module_directory ALL)
copy_to_binary_python(module_directory module)
  • install_python: install module for python2 and python3 (needs that copy_to_binary_python has been runned):
install_python(module core)

@fqez fqez merged commit d522e51 into JdeRobot:master Mar 2, 2017
@aitormf aitormf mentioned this pull request Mar 8, 2017
@aitormf
Copy link
Collaborator Author

aitormf commented Mar 30, 2017

Hi,
you don't need build TeachingRobotics, all practices that we use are in python, only needs run it with python interpreter.

But the error that you comments seems a bug in installation directives of JdeRobot, can you create a issue so we can fix it?

thanks

@aitormf aitormf deleted the issues/691 branch April 21, 2017 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants