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

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 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?

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

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

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?

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?

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?

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

Python Setuptools And Pbr - How To Create A Package Release Using The Git Tag As The Version?

How do I actually create a release/distro of a python package that uses a git repo tag for the vers… Read more Python Setuptools And Pbr - How To Create A Package Release Using The Git Tag As The Version?

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

Namespace Corrupted When Using Setup.py And Causes Attributeerror: Module Has No Attribute

I wrote a small tool (package) that reuses an existing namespace, pki.server. I named my package as… Read more Namespace Corrupted When Using Setup.py And Causes Attributeerror: Module Has No Attribute

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

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

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)

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

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 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?

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

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

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?