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

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?

Can I Use Setuptools Without Permissions To /usr/local Etc

I want to use some packages (i.e., IPython or zdaemon), butI am doing this on a system (my universi… Read more Can I Use Setuptools Without Permissions To /usr/local Etc

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?

Setuptools Platform Specific Dependencies

Is there any way to tell setuptools or distribute to require a package on a specific platform? In … Read more Setuptools Platform Specific Dependencies

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?

Pkg_resources.distributionnotfound When Using A Module Installed From A Bdist_rpm

I am trying to create a rpm of a CLI tool I have built. The rpm is being created and is installing … Read more Pkg_resources.distributionnotfound When Using A Module Installed From A Bdist_rpm

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

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)

Pkg_resources.resource_filename Is Not Extracting Files

I want to package a project that contains (and uses) template html files and distribuite it as an e… Read more Pkg_resources.resource_filename Is Not Extracting Files

How To Keep Data_files Between Package Updates?

I'm using the data_files argument of setuptools.setup() to install config files to /etc and the… Read more How To Keep Data_files Between Package Updates?

Python Setuptool How Can I Add Dependency For Libxml2-dev And Libxslt1-dev?

My application needs lxml >= 2.1, but to install lxml its requied to install libxml2-dev libxslt… Read more Python Setuptool How Can I Add Dependency For Libxml2-dev And Libxslt1-dev?

Running Entry Point Console_script In Python Development Environment

What is the process for running console scripts that use entry points as a python package developer… Read more Running Entry Point Console_script In Python Development Environment

Gcp Ai Platform: The Script _name_ Is Installed In '/root/.local/bin' Which Is Not On Path

I am trying to push python files to the Google AI Platform (unified). For the dependencies I am usi… Read more Gcp Ai Platform: The Script _name_ Is Installed In '/root/.local/bin' Which Is Not On Path

What Is The Purpose Of Setuptools Requirements Of The Form "package===version"

Say I have a package with a console script such as from setuptools import setup setup( name=… Read more What Is The Purpose Of Setuptools Requirements Of The Form "package===version"

How To Install Writable Shared And User Specific Data Files With Setuptools?

I know package_data. But it is for readonly data inside the package. Or is this assumption wrong? H… Read more How To Install Writable Shared And User Specific Data Files With Setuptools?

How To Execute A (safe) Bash Shell Command Within Setup.py?

I use nunjucks for templating the frontend in a python project. Nunjucks templates must be precomp… Read more How To Execute A (safe) Bash Shell Command Within Setup.py?

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

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

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 Put My Python C-module Inside Package?

I would like to gather multiple Python modules under one package, so they do not reserve too many n… Read more How To Put My Python C-module Inside Package?