Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python API and packaging for pip #1293

Closed
Bengreen opened this issue May 12, 2016 · 1 comment
Closed

Python API and packaging for pip #1293

Bengreen opened this issue May 12, 2016 · 1 comment

Comments

@Bengreen
Copy link

I was hoping to use python to access BaseX and was looking through the available packages and clients on the basex site.
I followed the links to the basex repo (here) and found two different python directories (python and python3).
I looked into the python directory and found (from the headers) it does not support basex greater than 7.3 (the new salt is required for 8.x).
I then looked into python3 (although I don't use python3) and found that it was actually python 2 compatible. I have been testing with it and it works very well. Labelling as python3 seems misleading.

I suggest to remove the old python directory (only old pre 8.3 support anyhow) and then rename the python3 to python.

ALSO: are there any thoughts of packaging the python (in python3 dir) API onto python packaging repos. I expect the API would be a prime candidate as the code is very contained and does not depend on other software to work.
I am happy to create the distro files for this if necessary and contribute them. But unsure where to capture this in the directory structure ? or git repositories of basex?

@ChristianGruen
Copy link
Member

Ben, thanks for the info. I have removed the old python files, and I have renamed python3 to python as you suggested.

I am happy to create the distro files for this if necessary and contribute them.

Would be great!

But unsure where to capture this in the directory structure ? or git repositories of basex?

Maybe in a sub-directory of the existing python directory?

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

No branches or pull requests

2 participants