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

When Does Setuptools Install Editable Link To /.../my_module/build/lib/ Andwhen Does It Link To /.../my_module?

I noticed that when I do an editable install (pip install --user -e .), sometimes, setuptools make … Read more When Does Setuptools Install Editable Link To /.../my_module/build/lib/ Andwhen Does It Link To /.../my_module?

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?

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?

Is There Any Practical Reason Why I Must Have A Code Version Embedded In Python Source Code?

Is there any practical reason why I must have a code version embedded in the source code? Explicit… Read more Is There Any Practical Reason Why I Must Have A Code Version Embedded In Python Source Code?

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

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

Python Setuptools: How Can I Install Package With Cython Submodules?

I have a python package named pytools. It contains a cython-based submodule nms. When I install the… Read more Python Setuptools: How Can I Install Package With Cython Submodules?

Excluding Source Files From Built Rpm Distribution With Setuptool

I have a typical project structure that looks as follows: EngineEmulator src ship … Read more Excluding Source Files From Built Rpm Distribution With Setuptool

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)

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

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?

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?

Getting Setuptools To Ignore Pypi Repository

I have in my packages setup.py: from setuptools import setup setup( dependency_links=['htt… Read more Getting Setuptools To Ignore Pypi Repository

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..."

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?

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

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

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