Re: Packaging a python package that is using setuptools_rust

2022-01-12 Thread phodina
Hi Hamzeh and Lars, > Hi Hamzeh, > > > I want to package the `etebase-py` library: > > https://github.com/etesync/etebase-py/ > > did you manage to package this library? I’m also interested in it, > > because I want to try etesync-dav. > > Thanks, > > Lars I'm also interested in packaging this

Re: Packaging a python package that is using setuptools_rust

2021-12-31 Thread Lars-Dominik Braun
Hi Hamzeh, > I want to package the `etebase-py` library: > https://github.com/etesync/etebase-py/ did you manage to package this library? I’m also interested in it, because I want to try etesync-dav. Thanks, Lars

Re: Packaging a python package that is using setuptools_rust

2020-10-25 Thread Efraim Flashner
On Sun, Oct 25, 2020 at 02:58:22PM +0330, Hamzeh Nasajpour wrote: > Thanks for your quick reply. > > > > (native-inputs > >`(... > > ("rust:cargo" ,rust "cargo") > > ...)) > > Thanks this step passed, but now I face with another error in dependencies. > > ``` > ... > phase

Re: Packaging a python package that is using setuptools_rust

2020-10-25 Thread Hamzeh Nasajpour
Thanks for your quick reply. > (native-inputs >`(... > ("rust:cargo" ,rust "cargo") > ...)) Thanks this step passed, but now I face with another error in dependencies. ``` ... phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build'

Re: Packaging a python package that is using setuptools_rust

2020-10-25 Thread Tobias Geerinckx-Rice
Hamzeh, Hamzeh Nasajpour 写道: As you can see, the `rust` path is available in the `PATH`. I get the list of this path: ``` $ ls /gnu/store/axjq514q8gqk90hi7r7wpfbba3id6h18-rust-1.39.0/bin/ rustc rustdoc rust-gdb rust-gdbgui rust-lldb ``` I couldn't see the `cargo`. I also couldn't find

Re: Packaging a python package that is using setuptools_rust

2020-10-25 Thread Hamzeh Nasajpour
Hi Hartmut, > You could validate $PATH like this: Add a phase before the > build-phase, containing just "(pk (getenv PATH))". This is the output of this line: ```

Re: Packaging a python package that is using setuptools_rust

2020-10-24 Thread Hartmut Goebel
Am 19.10.20 um 12:52 schrieb Hamzeh Nasajpour: > running build_rust > error: [Errno 2] No such file or directory: 'cargo' > command "python" "-c" "import setuptools, > tokenize;__file__='setup.py';f=getattr(tokenize, 'open', > open)(__file__);code=f.read().replace('\\r\\n', >

Packaging a python package that is using setuptools_rust

2020-10-19 Thread Hamzeh Nasajpour
Hi, I want to package the `etebase-py` library: https://github.com/etesync/etebase-py/ It's using the `setuptools_rust` for build/install. Also it has some rust dependencies that I packaged them. And now I create a package definition by `guix import ...`: ``` (define-public python-etebase