Top "Distutils" questions

Distutils is the standard packaging system for Python modules and applications.

Distribute a Python package with a compiled dynamic shared library

How do I package a Python module together with a precompiled .so library? Specifically, how do I write setup.py …

python package setuptools distutils
Is it possible to express a platform-specific dependency in setup.py without building platform-specific versions of my egg?

We have a placeholder egg that contains no code and only exists for the sake of pulling down a list …

python setuptools distutils
How to perform custom build steps in setup.py?

The distutils module allows to include and install resource files together with Python modules. How to properly include them if …

python setuptools distutils
Passing the library path as a command line argument to setup.py

modules = [Extension("MyLibrary", src, language = "c++", extra_compile_args=["-fopenmp", "-std=c++11", "-DNOLOG4CXX"], # log4cxx is not currently used …

python distutils python-3.3 setup.py
What is the graft command in Python's MANIFEST.in file?

I found a Python project with a MANIFEST.in file. I can guess at the meaning of much of it, …

python manifest distutils setup.py
Python can't locate distutils_path on Mac OSX

I've been using virtualenv + pip for python development. I'm not sure what happened, but suddenly whenever I try to run …

python macos virtualenv distutils
Unable to import distutils.dir_util on Windows

I'm trying to using distutils.dir_util on Windows 7 64bit. As far as I can glean from various googling, I …

python windows-7-x64 distutils
Python 3.4: compile cython module for 64-bit windows

I have a .pyx module that I've been trying to compile for use with 64-bit python 3.4 on Windows through various …

windows python-3.x cython distutils mingw-w64
Run custom task when call `pip install`

I want to make my python package "pip installable". The problem is that the package has shell script that must …

python pip distutils