Comments (5)
Yeah there are some pretty heavy deps in there. For example, I just did a little experiment and found that removing just re2
and ppx_string
would get the ocaml install .
command in a fresh switch down from 67 to 21 dependencies.
I have been meaning to switch Re2 to ocaml-re
for a while now, but haven't gotten around to it. The ppx_string
one is easier to remove, but removing that one but not re2
doesn't really help according to the opam solver.
from ocaml_python_bindgen.
For regexps, there is also the Str module.
I don't know what people have against it; it always solves my problems once I have a correct regexp.
from ocaml_python_bindgen.
On the v0.3.0
branch the opam install .
command from the repository on a fresh switch wants to install 72 packages. The same command on the current dev
branch which will be 0.3.1 only wants 30 (eg switching re2 to re, and no core, core_bench, or bisect_ppx). Much faster install time too.
At some time I may remove ppx_string
, but for now it will stay as it is used in quite a few places currently.
from ocaml_python_bindgen.
that's a lot better already
from ocaml_python_bindgen.
I will close this for now. The only other dep that would be "easy" to remove is ppx_string and its used quite a lot.
from ocaml_python_bindgen.
Related Issues (10)
- supporting python functions returning tuples would be _very_ useful HOT 9
- embedding more than one python file HOT 5
- adder.py needs to be in the current working directory HOT 8
- Generated OCaml interface's style HOT 6
- You don't always need to generate the pyobject conversions functions
- --embed-python-source HOT 29
- "could not create val_spec" is not very helpful HOT 3
- t option and custom option arguments are tricky to handle correctly HOT 1
- pyml_bindgen invocation example in case there is no class [question] HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml_python_bindgen.