software-distribution

setup_requires with Cython?

setup_requires with Cython? Question: I’m creating a setup.py file for a project with some Cython extension modules. I’ve already gotten this to work: from setuptools import setup, Extension from Cython.Build import cythonize setup( name=…, …, ext_modules=cythonize([ … ]), ) This installs fine. However, this assumes Cython is installed. What if it’s not installed? I understand …

Total answers: 3

Create a single executable from a Python project

Create a single executable from a Python project Question: I want to create a single executable from my Python project. A user should be able to download and run it without needing Python installed. If I were just distributing a package, I could use pip, wheel, and PyPI to build and distribute it, but this …

Total answers: 3