Closed grmpz closed 5 years ago
The main release of SharePy isn't compatible with Python 2.
There is a branch python-2.7
you can try. I never merged it in as I couldn't get Pickle to work successfully, but it should still work for the most part.
I've just updated the python-2.7
branch, and everything seems to be working. Let me know how you get on with it, and I'll roll it into a release for PyPI.
Have you rolled this python-2.7 version into a release? I would like to use it if you have it and it is working.
No, I've never released a Python 2 version of SharePy. However, the codebase is up to date with master
, with changes for compatibility applied on top. The difference is fairly minimal, as you can see here https://github.com/JonathanHolvey/sharepy/commit/7c0b146ffb45c7d360d4ff14163e176d2df3af25.
If you want to use the python-2.7
branch you can download a zip file or clone the repository into your project.
Hi Jonathan
Thank you – it works perfectly. Great work.
BR Jesper
Fra: Jonathan Holvey notifications@github.com Sendt: 17. oktober 2018 11:22 Til: JonathanHolvey/sharepy sharepy@noreply.github.com Cc: Jesper Jensen jj@binet.dk; Comment comment@noreply.github.com Emne: Re: [JonathanHolvey/sharepy] import sharepy fails after pip install for Python 2.7 (#11)
No, I've never released a Python 2 version of SharePy. However, the codebase is up to date with master, with changes for compatibility applied on top. The difference is fairly minimal, as you can see here 7c0b146https://github.com/JonathanHolvey/sharepy/commit/7c0b146ffb45c7d360d4ff14163e176d2df3af25.
If you want to use the python-2.7 branch you can download a zip file or clone the repository into your project.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/JonathanHolvey/sharepy/issues/11#issuecomment-430555362, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfOEkoT36v_O2vA1nIY91uGl4HPQmG4Tks5ulvbSgaJpZM4U9Xp7.
This seems like Python 3.0 syntax so it likely won't work as-is on 2.7?