Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Enable multiple Python Support #2

Open
alshapton opened this issue Nov 20, 2017 · 4 comments
Open

Enable multiple Python Support #2

alshapton opened this issue Nov 20, 2017 · 4 comments
Assignees
Milestone

Comments

@alshapton
Copy link
Owner

Prerequisites

  • [ Yes] Can you reproduce the problem?
  • [ Yes] Are you running the compatible versions of TinyDB and TinyMP?

Do you feel this is an issue with TinyDB or TinyMP? -Done TinyMP
If it is with TinyDB, then please consider checking the TinyDB forums first - Done

For more information, see the CONTRIBUTING guide.

Description

Amend Travis-CI to ensure that multiple Python versions are tested and supported

Versions

Please state the versions of TinyDB and TinyMP you are using: 3.7.0 (tdb) 0.2.0 (tmp)

@alshapton alshapton self-assigned this Nov 20, 2017
@alshapton alshapton added On Hold and removed On Hold labels Nov 23, 2017
@alshapton alshapton added this to the Release 1.1.0 milestone Nov 30, 2017
@alshapton
Copy link
Owner Author

@alshapton
Copy link
Owner Author

alshapton commented Dec 4, 2017

Would need to make the Python 2.7 installable as a PIP package to ensure that Python 3 will work in the same way. There is nothing fundamental that stops this working in Python 3.x as well with no change

https://python-packaging.readthedocs.io/en/latest/minimal.html

@alshapton
Copy link
Owner Author

@alshapton
Copy link
Owner Author

alshapton commented Dec 18, 2017

https://stackoverflow.com/questions/32658058/difference-between-importing-module-in-python-3-4-and-python-2-7

Believe that the modifyscripts.sh script needs to use "from future import absolute_import" as well as using "from . tinymp import *" (note the dot) where the prependation is taking place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant