-
Notifications
You must be signed in to change notification settings - Fork 5
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
Consider splitting into multiple (packages|repo) #61
Comments
I suppose we have three layers:
I moved Python turns out to be quite a beast when it comes to packaging... I'm already glad that we now have a working |
As a first stab at this, I've made a branch asn2quickder-split. It is a pure Python package, so I removed I'm not completely sure how to proceed. This is just
I am finding it difficult to split the code. The split I made is far from perfect, because I don't know where to draw the boundary. I suppose I am doubting your statement that the Python tooling built on top of quick-der is not necessary for using the library itself but I do agree that the build is painful, and that alone might be a reason for a split. Would we then end up with two or three mutually dependent packages, built separately? Please inspect and comment :-) Also, this can be an opportunity to move out of the |
This might be what we could aim for:
This probably removes the burden of keeping this package building... agreed? |
I suppose package In fact, it won't be building with I suppose this means that we can have And I suppose that is the split you are after... (?) |
Hmm, this is advantageous from a packaging viewpoint... but to make changes we'd have much more trouble. For instance, to modify a data structure it would require a concerted upgrade (and risk inconsistencies if it went awry). |
The wish to support imports of specs with a mere Much more appropriate, in terms of involving less code to simulate sanity, may be namespace packaging for |
The Python tooling built on top of quick-der is not necessary for using the library itself. Since building the scripts and getting the dependencies right for generating the (C and Python) bindings for ASN.1 syntax files is a pain in the butt, perhaps it should be split out of the QD library (repo|package). Generated (C) headers for the RFC headers could be checked in, since they change very little.
As an alternative, the configure script should at least try to find a suitable Python interpreter and check for dependency modules (e.g. six) before the build starts.
The text was updated successfully, but these errors were encountered: