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

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

Installing Dependency From A Vcs Repo Subdirectory Using Setuptools

I'm trying use setuptools to install a dependency from a VCS and inside a subdirectory. My setu… Read more Installing Dependency From A Vcs Repo Subdirectory Using Setuptools

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

Conda Setuptools Install Changes Shebangs To Default Python Install

I'm having an issue where packages installed via setuptools to python anaconda have shebangs re… Read more Conda Setuptools Install Changes Shebangs To Default Python Install

Pythonpath Is Still Ignored And Unable To Install Locally With Pip

I'm finding that my pythonpath environment variable is ignored. I'm using python 2.6 on ubu… Read more Pythonpath Is Still Ignored And Unable To Install Locally With Pip

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 Solve Error Installing Setuptools Python In Windows

can someone help me with an issue I am struggling for a couple of hours, I am trying to install … Read more How To Solve Error Installing Setuptools Python In Windows

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

Python Setuptools Package_data - Pip Fails On Subfolders

I am trying to make my own pip package installation to work and I have troubles with subfolders in … Read more Python Setuptools Package_data - Pip Fails On Subfolders

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?

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

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

Manifest.in, Package_data, And Data_files Clarification?

I am trying to create a Python package, and I have a directory structure like this: mypkg/ ├── __in… Read more Manifest.in, Package_data, And Data_files Clarification?

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