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

Dulwich as setup.py dependency w/o compiler on Windows #416

Closed
MatthiasKauer opened this issue Mar 24, 2016 · 2 comments
Closed

Dulwich as setup.py dependency w/o compiler on Windows #416

MatthiasKauer opened this issue Mar 24, 2016 · 2 comments
Labels

Comments

@MatthiasKauer
Copy link

Hi,
I'm trying to use dulwich for a git backend in a project of mine.
I'm wondering how I should add it to the install_requires in setup.py.

On Windows, compiler availability cannot be assumed and I don't foresee performance issues with the --pure option.
However, this option cannot be added to setup.py easily. If I understand correctly this is only possible from pip 7.0 onward which is not in Ubuntu < 16.04.

If there was a wheel installation for Windows, that would work too of course. There is some discussion #222 #304 that sort of looks like someone implemented that. Nevertheless

pip install dulwich

fails on my Windows machine (because gcc is missing).
What is the status of that wheel installation right now?

What is dulwich-windows on PyPI? It doesn't explain much and just links back to the regular home page. Is it the aforementioned wheel build?

Are there other options that I haven't considered yet? Can you suggest a project that builds on top of dulwich and that I should look at for inspiration?

Kind regards,
Matthias

PS: On a side note, the --pure command has issues here https://www.dulwich.io/docs/index.html
I had to untangle the two dashes first.

@MatthiasKauer MatthiasKauer changed the title Dulwich as setup.py dependency w/ --pure Dulwich as setup.py dependency w/o compiler on Windows Mar 24, 2016
@jelmer
Copy link
Owner

jelmer commented Mar 27, 2016

Hi Mathias,

On Thu, Mar 24, 2016 at 07:44:32AM -0700, MatthiasKauer wrote:

I'm trying to use dulwich for a git backend in a project of mine.
I'm wondering how I should add it to the install_requires in setup.py.

On Windows, compiler availability cannot be assumed and I don't foresee performance issues with the --pure option.
However, this option cannot be added to setup.py easily. If I understand correctly this is only possible from pip 7.0 onward which is not in Ubuntu < 16.04.

If there was a wheel installation for Windows, that would work too of course. There is some discussion #222 #304 that sort of looks like someone implemented that. Nevertheless

pip install dulwich

fails on my Windows machine (because gcc is missing).
What is the status of that wheel installation right now?
Unfortunately that bug has the latest status; Gary was working on
Windows support, but he has been inactive for a while. I don't think
there is anything building the wheel.

What is dulwich-windows on PyPI? It doesn't explain much and just links back to the regular home page. Is it the aforementioned wheel build?
I have no idea what that project is; it is unaffiliated to the Dulwich
project itself.

Are there other options that I haven't considered yet? Can you suggest a project that builds on top of dulwich and that I should look at for inspiration?
hg-git is probably a good source for inspiration.

Hope this helps,

Jelmer

@jelmer jelmer added the windows label Apr 24, 2016
@jelmer
Copy link
Owner

jelmer commented Apr 24, 2016

Closing this in favor of #222.

@jelmer jelmer closed this as completed Apr 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants