Skip to content Skip to sidebar Skip to footer
Showing posts with the label Distutils

Top-level Package Handling With Setuptools (or Another Python Egg Builder)

I am writing a little python app. I want to be able to easily deploy the app. I know that python 2.… Read more Top-level Package Handling With Setuptools (or Another Python Egg Builder)

How To Strip Source From Distutils Binary Distributions?

I want to create a bytecode-only distribution from distutils (no really, I do; I know what I'm … Read more How To Strip Source From Distutils Binary Distributions?

Place Pre-compiled Extensions In Root Folder Of Non-pure Python Wheel Package

TL;DR How do you get distutils/setuptools to include a non-pure data file correctly? I've got a… Read more Place Pre-compiled Extensions In Root Folder Of Non-pure Python Wheel Package

How To Depends Of A System Command With Python/distutils?

I'm looking for the most elegant way to notify users of my library that they need a specific un… Read more How To Depends Of A System Command With Python/distutils?

How To Install Python-distutils For Old Python Versions

I am running Ubuntu 20.04 with python 3.6, 3.7, and 3.8 installed. I am trying to install some pack… Read more How To Install Python-distutils For Old Python Versions

Calling C++ Code From Python Using Cython Whith The Distutilis Approach

I am trying to call a c++ code from a python script using cython. I already managed to work with an… Read more Calling C++ Code From Python Using Cython Whith The Distutilis Approach

Python Distutils - Change Path Rpm Installs To

I have Python 2.7.5 and am using distutils (python setup.py bdist_rpm) to create the following RPM.… Read more Python Distutils - Change Path Rpm Installs To

Using Cython Extension Once Compiled [under Windows], How To Use .pyd's?

I am used with compiling self-made python extensions under Linux using Cython. On Linux, I use dist… Read more Using Cython Extension Once Compiled [under Windows], How To Use .pyd's?

How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

I need to make a C extension with distutils (and/or setuptools) that can be used BOTH dynamically a… Read more How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

Build Python Package With C Bindings In Windows (vc90) Causes Lnk1181 Fatal Error

I'm trying to build a Python package (pyspotify) with bindings to a C library (libspotify). I&#… Read more Build Python Package With C Bindings In Windows (vc90) Causes Lnk1181 Fatal Error

How To Get Error Log Of A Disutils Setup In Python?

I am new to Python. I have created some C/C++ extensions for Python and able to build those with th… Read more How To Get Error Log Of A Disutils Setup In Python?

Why Is An Egg-info File Created When I'm Using Distutils?

Below is my setup.py. I don't use anything from setuptools in my code and my project has no ext… Read more Why Is An Egg-info File Created When I'm Using Distutils?

Python3 Shared Extension Doesn't Link Against Library Dependency

I'm creating a shared Python extension for my library and I'm using distutils to build it. … Read more Python3 Shared Extension Doesn't Link Against Library Dependency

How To Make A Pyme (python Library) Run In Python 2.4 On Windows?

I want to run this library on Python 2.4 in Windows XP. I installed the pygpgme-0.8.1.win32.exe fil… Read more How To Make A Pyme (python Library) Run In Python 2.4 On Windows?

Importerror: No Module Named Distutils

Attempt to install psutils resulted a big headache... $ python -V Python 2.4.2 $ cat /etc/SuSE-rel… Read more Importerror: No Module Named Distutils

Declaring Optional Components Of My Package In Setup.py

I've put together a library with the following structure: filters/ __init__.py core/ _… Read more Declaring Optional Components Of My Package In Setup.py

How To Install Python-distutils For Old Python Versions

I am running Ubuntu 20.04 with python 3.6, 3.7, and 3.8 installed. I am trying to install some pack… Read more How To Install Python-distutils For Old Python Versions