IronLanguages / IronLanguages/ironpython3

Please consider to make ipyc.exe can compile Python code to .NET 5 dll?

Open
#1,291 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

Hello everyone

According to a question that I asked in IronPython users mailing and answers from Stéphane Lozier and Markus SchaberSep which are very useful.

I have a use case that business logic is written in Python code and my website is ASP.NET Core MVC.
Therefore, it would be nice if I can use ipyc.exe to compile Python code to dll and use it in my .NET Core project and deploy to a Linux server.

From Markus SchaberSep answer, would IronPython team consider to implement a new ipyc with Roslyn and make output dll target .NET 5 or a newer version?

Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing ipyc.exe implementation and the linked IronPython users mailing-list discussion, then review how the repository targets .NET and whether Roslyn is used. Done means a decided and tested approach for producing a .NET 5-or-newer DLL that can be used by an ASP.NET Core project on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.