Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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?

How To Include License File In Setup.py Script?

I have written a Python extension module in C++. I plan to distribute the module with setuptools. T… Read more How To Include License File In Setup.py Script?

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

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?

How Do I Add A Python Tag To The Bdist_wheel Command Using Setuptools?

Let's say I have a simple library which uses setuptools for packaging and distributing. The lib… Read more How Do I Add A Python Tag To The Bdist_wheel Command Using Setuptools?

Including And Distributing Third Party Libraries With A Python C Extension

I'm building a C Python extension which makes use of a 'third party' library— in this c… Read more Including And Distributing Third Party Libraries With A Python C Extension