You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running config.py to configure the curves you want to use, if you want to build a module that relies on any of the curves and then write any code depending on that module, the dependencies are currently a little clunky.
In my case, I ended up copying each of the curve directories created by config.py to my project and put an __init__.py file inside each of the folders so that I could install each curve as a Python module. I also had to copy the constants.py file to any folder with code that relied on any of the configured elliptic curves. The example structure below is what I used. In the example, assume that module_code.py depends on bn254 and that test.py relies on module_code.py.
If config.py could allow you to install the curves and any necessary constants as modules, it would be much easier to use in combination with other projects.
The text was updated successfully, but these errors were encountered:
can someone please post derailed install instructions for the c, c++, and python versions of this library? Lots of wasted potential for this because there is no directions! I appreciate any help greatly! For Linux please!
After running
config.py
to configure the curves you want to use, if you want to build a module that relies on any of the curves and then write any code depending on that module, the dependencies are currently a little clunky.In my case, I ended up copying each of the curve directories created by
config.py
to my project and put an__init__.py
file inside each of the folders so that I could install each curve as a Python module. I also had to copy theconstants.py
file to any folder with code that relied on any of the configured elliptic curves. The example structure below is what I used. In the example, assume thatmodule_code.py
depends onbn254
and thattest.py
relies onmodule_code.py
.If
config.py
could allow you to install the curves and any necessary constants as modules, it would be much easier to use in combination with other projects.The text was updated successfully, but these errors were encountered: