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
allow depending on "dulwich[pure]" to disable C extension build #593
Comments
I tried adding a pure extra dependency but I cannot find a way to know if the Maybe it would be easier to add an extra dependency to use the C code but it wouldn't be backward compatible. |
I'd like the default to having C extensions enabled. If we do it the other way around, most people are going to end up with the slower version of Dulwich. |
What about having two package? |
I guess that's an option, though I'd rather avoid it if possible. It's less discoverable and requires I keep another project up to date.
…On 5 June 2018 17:56:07 BST, Boris Feld ***@***.***> wrote:
What about having two package? `dulwich` and `dulwich-pure`?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#593 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
If all the wheels were there this won't be an issue I guess. |
|
I'm going to close this since I don't think the current python distutils infrastructure allows doing this, and Dulwich now has wheels for Ubuntu published for Linux, Mac OS X and Windows: https://pypi.org/project/dulwich/#files |
There isn't an easy way to do this at the moment; you can only do this
using e.g. requirements.txt.
For setup.py, ideally we'd want to support something like
"dulwich[pure]" in your setup.py's install_requires, but I haven't
worked out the right magic to make that work in dulwich' setup.py yet. See
https://setuptools.readthedocs.io/en/latest/setuptools.html#id14 for
background on extras.
The text was updated successfully, but these errors were encountered: