Top "Distutils" questions

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

make distutils in Python automatically find packages

When describing a python package in setup.py in distutils in Python, is there a way to make it so …

python distutils setup.py
Finding a file in a Python module distribution

I've written a Python package that includes a bsddb database of pre-computed values for one of the more time-consuming computations. …

python distutils
ValueError: Unknown MS Compiler version 1900

I am trying to run some code with Python 3.5 on Windows 10 with the use of cygwin (mingw). To be precise …

python visual-studio cygwin mingw distutils
Why does "python setup.py sdist" create unwanted "PROJECT-egg.info" in project root directory?

When I run python setup.py sdist it creates an sdist in my ./dist directory. This includes a "PROJECT-egg.info" …

python setuptools distutils distribute setup.py
Make distutils look for numpy header files in the correct place

In my installation, numpy's arrayobject.h is located at …/site-packages/numpy/core/include/numpy/arrayobject.h. I wrote a trivial …

python numpy distutils cython
Using Cython To Link Python To A Shared Library

I am trying to integrate a third party library written in C with my python application using Cython. I have …

python c linker cython distutils
Python distutils error: "[directory]... doesn't exist or not a regular file"

Let's take the following project layout: $ ls -R . .: package setup.py ./package: __init__.py dir file.dat module.py ./package/…

python distutils
How to pass flag to gcc in Python setup.py script?

I'm writing a Python extension in C that requires the CoreFoundation framework (among other things). This compiles fine with: gcc …

python distutils python-c-api
ImportError: No module named distutils

Attempt to install psutils resulted a big headache... $ python -V Python 2.4.2 $ cat /etc/SuSE-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 …

python distutils easy-install
What is the correct way to share package version with setup.py and the package?

With distutils, setuptools, etc. a package version is specified in setup.py: # file: setup.py ... setup( name='foobar', version='1.0.0…

python setuptools distutils