Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

What we anticipate seldom occurs; what we least expect generally happens. -- Bengamin Disraeli


devel / comp.lang.ada / Compiling Python code from GPRBuild (Calling from GNAT Studio)

SubjectAuthor
o Compiling Python code from GPRBuild (Calling from GNAT Studio)Rego, P.

1
Compiling Python code from GPRBuild (Calling from GNAT Studio)

<bc0599fc-5bc1-4871-ac78-d0b3ed262865n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8998&group=comp.lang.ada#8998

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:8041:0:b0:4af:b13b:2624 with SMTP id 59-20020a0c8041000000b004afb13b2624mr61056258qva.92.1668109115628;
Thu, 10 Nov 2022 11:38:35 -0800 (PST)
X-Received: by 2002:a05:622a:5806:b0:3a5:591e:a60a with SMTP id
fg6-20020a05622a580600b003a5591ea60amr1549355qtb.309.1668109115445; Thu, 10
Nov 2022 11:38:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 10 Nov 2022 11:38:35 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=152.249.156.27; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu
NNTP-Posting-Host: 152.249.156.27
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bc0599fc-5bc1-4871-ac78-d0b3ed262865n@googlegroups.com>
Subject: Compiling Python code from GPRBuild (Calling from GNAT Studio)
From: pvrego@gmail.com (Rego, P.)
Injection-Date: Thu, 10 Nov 2022 19:38:35 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2036
 by: Rego, P. - Thu, 10 Nov 2022 19:38 UTC

Hello everyone, long time no see some of you, I hope everyone is fine.

I'm trying to compile some Python files from an Ada project (in an integration which will consist of Ada, Python and Rust). But let's simplify the things, so I created a Python-only project using this :

-- testpy.gpr
project Testpy is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Main use ("Analysis.py");
for Languages use ("Python");
for Source_Files use ("Analysis.py");
end Testpy;

and as I tried to compile `Analysis.py` I got the messages
> gprbuild -ws -c -f -u -PP:\Gnat\testpy.gpr Analysis.py
> testpy.gpr:7:26: language unknown for "analysis.py"
> gprbuild: "P:\Gnat\testpy.gpr" processing failed
> [2022-11-10 16:23:10] process exited with status 4, elapsed time: 03.78s

So, obviously I am missing something (and yeah, I took the last 2h searching the docs...), so, please, how would I fix that?

Thanks
Rego.

ps.: had posted "running" instead of "compiling" at the title in previous post, sorry that.


devel / comp.lang.ada / Compiling Python code from GPRBuild (Calling from GNAT Studio)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor