I have the following case:
- Desktop Application with Python + PySide
- Want to use the PYD file (mycore.pyd) in my application
- There is one dependency in the fill module in mycore.pyx
- This fill module is already installed in the system
- I create Setup.py and convert the PYX file to the PYD file that I use in the application
What I got:
- Once I launched the application in PyCharm => everything is fine
- when I create an application with the PyInstaller approach and start the application from cmd => I will catch the error "There is no named module" Filling (requests, etc.) "
Example setup.py file:
from distutils.core import setup from Cython.Build import cythonize extensions = ["mycore.pyx"] setup( name='mycore', version='1.0', ext_modules=cythonize(extensions),
Any ideas or tips would be great!
UPDATE
Also tried the setup_tools , also without success:
from Cython.Build import cythonize from setuptools import setup, find_packages, Extension, Command setup(name='mycore', packages = find_packages(), version=1.0, include_package_data=True, platforms=['all'], ext_modules=[Extension("mycore", ['mycore.c'])],
source share