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

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 Can I Include The Parent Folder Structure On A Library Distribution In Python 3.6 Using Setuptools?

I am using setuptools to distribute a Python library. I have the following directory structure: /… Read more How Can I Include The Parent Folder Structure On A Library Distribution In Python 3.6 Using Setuptools?

Why Do I Need To Include Sub-packages In Setup.py

I have a python package called mltester which contains two sub-packages (actions, dialogs) and a ma… Read more Why Do I Need To Include Sub-packages In Setup.py

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

Python Alternative Package Setup Using Setuptools

I am having some trouble adding packages with my particular setup: . ├── pkg_a │ ├── pkg_a │ │ … Read more Python Alternative Package Setup Using Setuptools

Why Does "python Setup.py Sdist" Create Unwanted "project-egg.info" In Project Root Directory?

When I run python setup.py sdist it creates an sdist in my ./dist directory. This includes a … Read more Why Does "python Setup.py Sdist" Create Unwanted "project-egg.info" In Project Root Directory?

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

Setuptools - Shipping Additional Files

Situation I createt my setup.py file. Most of it works out of the box but I'm having some troub… Read more Setuptools - Shipping Additional Files

Declaring Optional Components Of My Package In Setup.py

I've put together a library with the following structure: filters/ __init__.py core/ _… Read more Declaring Optional Components Of My Package In Setup.py

"attributeerror: 'module' Object Has No Attribute" With Installed Package

I have a project with these contents: proj ├── src │ ├── scriptA.py │ ├── scriptB.py │ └── __… Read more "attributeerror: 'module' Object Has No Attribute" With Installed Package

Best Way To Share Code Across Several Setup.py Scripts?

I've got several packages I'm working on, and I'd like to share code between their setu… Read more Best Way To Share Code Across Several Setup.py Scripts?

Installing Django And Related Packages On An Offline Computer

I'm using win7, python 2.7 and I have a project with several packages running. I wanted to move… Read more Installing Django And Related Packages On An Offline Computer

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

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

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?

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 )

Why Is An Egg-info File Created When I'm Using Distutils?

Below is my setup.py. I don't use anything from setuptools in my code and my project has no ext… Read more Why Is An Egg-info File Created When I'm Using Distutils?