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

Install Module To Site-packages With Setuptools

I'm trying to upload a CLI to PIP that, once installed, will run when the user types myscript M… Read more Install Module To Site-packages With Setuptools

Why Doesn't Setup_requires Work Properly For Numpy?

I wanted to create a setup.py file that automatically resolves a build-time dependency to numpy (fo… Read more Why Doesn't Setup_requires Work Properly For Numpy?

Difference Between Pip3 And `python3 Setup.py Install` Regarding Cmdclass Argument

I tried to configure my package such that a script is executed on the installation process. Therefo… Read more Difference Between Pip3 And `python3 Setup.py Install` Regarding Cmdclass Argument

How To Make Easy_install Execute Custom Commands In Setup.py?

I want my setup.py to do some custom actions besides just installing the Python package (like insta… Read more How To Make Easy_install Execute Custom Commands In Setup.py?

Provide A Complex Condition In Install_requires ( Python Setuptools's Setup.py )

Does anybody know how I can provide a complex condition in the 'install_requires' section o… Read more Provide A Complex Condition In Install_requires ( Python Setuptools's Setup.py )

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?

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

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?

How To Exclude A Single File From Package With Setuptools And Setup.py

I am working on blowdrycss. The repository is here. I want the settings file for blowdrycss_settin… Read more How To Exclude A Single File From Package With Setuptools And Setup.py

Custom Location For .pypirc File

Does setuptools allow for the .pypirc file to be specified in a custom location rather than $HOME/.… Read more Custom Location For .pypirc File

Importing Python Package - "importerror: No Module Named..."

I know there are a lot of questions about 'ImportError: No module named...' but they ususal… Read more Importing Python Package - "importerror: No Module Named..."

Easy_install Lxml On Python 2.7 On Windows

I'm using python 2.7 on Windows. How come the following error occurs when I try to install [lxm… Read more Easy_install Lxml On Python 2.7 On Windows

How To Make Setuptools Install A Wheel Containing Multiple Packages?

Suppose this wheel: M Filemode Length Date Time File - ---------- -------- ---… Read more How To Make Setuptools Install A Wheel Containing Multiple Packages?

Difficulties Using Setuptools To Compile Extension Module

I am developing a package (module?) designed to be pip-installed. The package contains a C++ extens… Read more Difficulties Using Setuptools To Compile Extension Module

Exception When Installing Setuptools On Python 2.7.6

I'm installing setuptools for Python 2.7.6 on Windows 7 64-bit machine and get the following er… Read more Exception When Installing Setuptools On Python 2.7.6

Python Installing Package With Submodules

I have a custom project package with structure like: package-dir/ mypackage/ __init_… Read more Python Installing Package With Submodules

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?

Python Fails After Deleting Site.py

tl;dr I accidentally deleted my Python installation’s site.py file. Now, when trying to start Pytho… Read more Python Fails After Deleting Site.py

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

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)