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

How To Use Setuptools Packages And Ext_modules With The Same Name?

I got the following file structure for my Python C Extension project: . ├── setup.py ├── source   … Read more How To Use Setuptools Packages And Ext_modules With The Same Name?

Easy_install Gets Wrong Pip Version

I have been following the instructions on http://docs.python-guide.org/en/latest/starting/install/o… Read more Easy_install Gets Wrong Pip Version

Force Compiler When Running Python Setup.py Install

Is there a way to explicitly force the compiler for building Cython extensions when running python … Read more Force Compiler When Running Python Setup.py Install

Add Folders And Subfolders Outside Of Main Module Using Setuptools(setup.py)

So it is yet another similar looking but different question than setuptools: adding additional file… Read more Add Folders And Subfolders Outside Of Main Module Using Setuptools(setup.py)

How Do I Package For Distribution A Python Module That Uses A Shared Library?

I'm writing some bindings for a C library and am not sure how to configure all this for distrib… Read more How Do I Package For Distribution A Python Module That Uses A Shared Library?

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

Installing Python-2.7 On Ubuntu 10.4

I can't seem to install zlib properly, I installed Python from source on Ubuntu10.4 '####… Read more Installing Python-2.7 On Ubuntu 10.4

When Does Setuptools Install Editable Link To /.../my_module/build/lib/ Andwhen Does It Link To /.../my_module?

I noticed that when I do an editable install (pip install --user -e .), sometimes, setuptools make … Read more When Does Setuptools Install Editable Link To /.../my_module/build/lib/ Andwhen Does It Link To /.../my_module?

Customizing Python Package Directory Layout With Setup.py

Suppose I have the following directory structure: src/ └── python/ └── generated/ ├── _… Read more Customizing Python Package Directory Layout With Setup.py

How To Make "python Setup.py Install" Install Source Instead Of Egg File?

I used to run python setup.py install in a python project, it will just move the source to site-pac… Read more How To Make "python Setup.py Install" Install Source Instead Of Egg File?

Linux Redhat 6 And Installing Easy_install

I'm completely new at this and needed a bit of help. I've got a hosted server running Linux… Read more Linux Redhat 6 And Installing Easy_install

Best Way To Share Code Across Several Setup.py Scripts?

I've got several packages I'm working on, and I'd like to share code between their setu… Read more Best Way To Share Code Across Several Setup.py Scripts?

Python Packaging Multiple Subpackages With Different Data Directories

I have a structure of the directory as such with foobar and alphabet data directories together with… Read more Python Packaging Multiple Subpackages With Different Data Directories

Attempting To Build A Cython Extension To A Python Package, Not Creating Shared Object (.so) File

I have attempted to use the answer here to add the building of a cython extension into my package. … Read more Attempting To Build A Cython Extension To A Python Package, Not Creating Shared Object (.so) File

Setup.py Installed Package Can't Be Imported

I created my first package with the following setup.py: from setuptools import setup, find_packages… Read more Setup.py Installed Package Can't Be Imported

How To Easy_install Egg Plugin And Load It Without Restarting Application?

I'm creating an app that downloads and installs its own egg plugins, but I have a problem loadi… Read more How To Easy_install Egg Plugin And Load It Without Restarting Application?

Python Setuptools: How Do I Specify Dependencies In A Private Pypi Repo, Hosted On Nexus?

I'm unable to build a python wheel which has a dependency on a package in a private PyPI reposi… Read more Python Setuptools: How Do I Specify Dependencies In A Private Pypi Repo, Hosted On Nexus?

Why Can't I Install Python 2.7 Under Centos 5.5?

Centos 5.5 comes with python 2.4 installed, and I needed python 2.7 for a project. I downloaded th… Read more Why Can't I Install Python 2.7 Under Centos 5.5?

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 … Read more Why Does "python Setup.py Sdist" Create Unwanted "project-egg.info" In Project Root Directory?

Pros And Cons Of 'script' Vs. 'entry_point' In Python Command Line Scripts

Python's setuptool has two ways of adding command line scripts to a Python package: script and … Read more Pros And Cons Of 'script' Vs. 'entry_point' In Python Command Line Scripts