unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: h.nasajpour@pantherx.org
Cc: 44090@debbugs.gnu.org
Subject: bug#44090: Packaging a python library that is implemented with rust
Date: Tue, 20 Oct 2020 12:23:54 +0200	[thread overview]
Message-ID: <bcf9adafd96dd14ee7d34b2819b0dd498ed00678.camel@student.tugraz.at> (raw)
In-Reply-To: ccc953ad-6bc9-4ccf-8bc0-6c8d6d977105@www.fastmail.com

Hello Hamzeh,

I think part of the issue here, is that the build system for etebase-py 
tries to also build etebase-rs, which you have already packaged.  There
are two ways you could continue here:

1. Patch the build system of etebase-py, so that it works with your
already built etebase-rs.

2. Pull in the etebase-rs source as input to etebase-py and build
everything as one package.

I am not sure, which option makes more sense here.  I do lean a bit
more towards #1, but others may weigh in on this as well.  I'm pretty
sure you can disregard setuptools-rust if you choose #1.  If you do #2,
you might have to mix some of the rust-build-system phases into python-
etebase.

Regards, Leo





  reply	other threads:[~2020-10-20 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20  5:10 bug#44090: Packaging a python library that is implemented with rust Hamzeh Nasajpour
2020-10-20 10:23 ` Leo Prikler [this message]
2021-02-01 19:02 ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bcf9adafd96dd14ee7d34b2819b0dd498ed00678.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=44090@debbugs.gnu.org \
    --cc=h.nasajpour@pantherx.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).