feat(py): Setup python bindings project#8
Conversation
7bec1a4 to
415cb3e
Compare
9010181 to
05f2819
Compare
62eaa3d to
0422c6a
Compare
0422c6a to
f5ad00b
Compare
| return self._inputs | ||
|
|
||
| return [JeffValue.from_encoding(inp, self._func) for inp in self._raw_data.inputs] | ||
| return [ |
There was a problem hiding this comment.
Just a question, are we using different line lengths for the formatter by chance? 100 is what I usually use
There was a problem hiding this comment.
Just realized the whole code is in the init file, usually I wouldn't be looking for any code in those, except import related code / hacks.
There was a problem hiding this comment.
Yes, this PR just set up things around the main file. See #14 for python code the restructuring
| @@ -0,0 +1,21 @@ | |||
| """Utility functions for tket extensions.""" | |||
There was a problem hiding this comment.
We should be able to include this file in the wheel via payload data, rather than duplicating the source
There was a problem hiding this comment.
We can use force-include when building the wheels to copy the data into a local path, but that would break local testing since the file would not be there.
Setups a python project under
impl/py, so we can publish thejeff-formatpackage.There are some problems with setting up dependencies, but we can merge this as-is for the moment.
The code from #3 is left unchanged apart from adding the capnp schema to a sub-dir and running automatic linters.