Git Product home page Git Product logo

Comments (7)

KRRT7 avatar KRRT7 commented on September 26, 2024 1

No problem

from nuitka.

KRRT7 avatar KRRT7 commented on September 26, 2024

Use a virtual environment for maximum isolation, if those extra dependencies are still being pulled in, then that means a module or third party library you use needs those dependencies implicitly and as such nuitka will pull them because theyโ€™re needed.

from nuitka.

fantomas-code avatar fantomas-code commented on September 26, 2024

For example, my application uses these modules and still compiles more modules

import sys
from PySide6.QtUiTools import QUiLoader
from PySide6.QtWidgets import QApplication
from PySide6.QtCore import QFile, QIODevice, Qt

from PySide6.QtWidgets import QMainWindow, QApplication, QMenu, QPushButton
from PySide6.QtCore import QTimer, Qt, QSize
from PySide6.QtGui import QAction, QCursor, QIcon

import ctypes

from src.reloj import Ui_Reloj

from locale import LC_ALL, setlocale
from time import strftime
from shutil import copy
from os import path, getenv, remove
from getpass import getuser
import webbrowser

from nuitka.

KRRT7 avatar KRRT7 commented on September 26, 2024

https://code.qt.io/cgit/pyside/pyside-setup.git/tree/requirements.txt
these are pyside6 requirements, so naturally nuitka will pull those dependencies, and then the sub dependencies of those dependencies and so on and so forth.
Pyside6 is a large program and a such it will probably need a lot of things to be compiled.

from nuitka.

fantomas-code avatar fantomas-code commented on September 26, 2024

So is it normal that my program weighs so much?

from nuitka.

KRRT7 avatar KRRT7 commented on September 26, 2024

With pyside + numpy as dependencies, yes.

from nuitka.

fantomas-code avatar fantomas-code commented on September 26, 2024

Thank you at least you clarified my doubt

from nuitka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.