본문 바로가기
컴퓨터쟁이/Python

python 패키징 하는 방법 2 - py2exe

by 빙글빙글이 2021. 8. 26.
728x90
반응형

여긴 아직 안해보고 조사만 했다.

해보고 다시 또 글 수정하는 걸로...ㅎ

Py2exe

http://www.py2exe.org/

 

FrontPage - py2exe.org

py2exe py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation. Development is hosted on GitHub. You can find the mailing list, svn, and downloads for Python

www.py2exe.org

https://docs.python.org/2/faq/windows.html#is-a-pyd-file-the-same-as-a-dll

 

Python on Windows FAQ — Python 2.7.18 documentation

On Windows, the standard Python installer already associates the .py extension with a file type (Python.File) and gives that file type an open command that runs the interpreter (D:\Program Files\Python\python.exe "%1" %*). This is enough to make scripts ex

docs.python.org

https://docs.python.org/3/extending/extending.html#a-simple-example

 

1. Extending Python with C or C++ — Python 3.9.6 documentation

1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can’t be done directly in Python: they can implement new built-in object types, and t

docs.python.org

https://sourceforge.net/p/py2exe/svn/HEAD/tree/trunk/py2exe-3/py2exe/

 

py2exe / SVN / [r772] /trunk/py2exe-3/py2exe

© 2021 Slashdot Media. All Rights Reserved. Terms Privacy Opt Out Advertise Get latest updates about Open Source Projects, Conferences and News. Sign Up No, Thank you

sourceforge.net

https://noteforstudy.tistory.com/19

 

.py to .dll/.pyd/.c 변환 참고 자료

.py 파일을 .dll로 바꾸는 방법 .py 파일을 .pyd로 바꾼 이후 (pyd가 dll이라고 하니) C에서 #include로 불러 들이는 방법 .py 파일을 .pyx로 바꾼 이후 .c로 바꾸는 방법 등 .py 파일을 C에서 사용할 수 있는

noteforstudy.tistory.com

http://docs.cython.org/en/latest/src/quickstart/build.html

 

Building Cython code — Cython 3.0.0a9 documentation

Building Cython code Cython code must, unlike Python, be compiled. This happens in two stages: A .pyx or .py file is compiled by Cython to a .c file, containing the code of a Python extension module. The .c file is compiled by a C compiler to a .so file (o

docs.cython.org

https://webnautes.tistory.com/1158

 

Visual Studio Code에서 C/C++ 프로그래밍( Windows / Ubuntu)

Windows와 Ubuntu 환경에 설치된 Visual Studio Code에서 C/C++을 컴파일하고 실행시키는 방법에 대해 설명합니다. 테스트에 사용한 운영체제 버전은 Windows 10과 Ubuntu 20.04입니다. Visual Studio Code 버전에..

webnautes.tistory.com

https://stackoverflow.com/questions/46317830/using-pyd-file-in-c

 

Using .PYD file in C#?

I am developing a program using C#, but I just figured out that what I am going to program is very very difficult in C# yet easy in Python. So what I want to do is make a .PYD file and use it in C#

stackoverflow.com

https://stackoverflow.com/questions/10859369/how-to-compile-a-python-package-to-a-dll

 

How to compile a Python package to a dll

Well, I have a Python package. I need to compile it as dll before distribute it in a way easily importable. How? You may suggest that *.pyc. But I read somewhere any *.pyc can be easily decompiled!

stackoverflow.com

 

728x90
반응형