Top "Setuptools" questions

Setuptools builds on Python’s distutils to provide easier building, distribution, and installation of libraries and applications.

Enforcing python version in setup.py

Currently, we are setting\installing up some packages on system by mentioning their version and dependencies in setup.py under …

python python-2.7 setuptools
When to use pip requirements file versus install_requires in setup.py?

I'm using pip with virtualenv to package and install some Python libraries. I'd imagine what I'm doing is a pretty …

python setuptools pip distribute setup.py
Import error on installed package using setup.py

I have a problem with using setup.py to setup a python package. First, I have the following directory setup: …

python import python-2.7 setuptools
Install dependencies from setup.py

I wonder if as well as .deb packages for example, it is possible in my setup.py I configure the …

python setuptools install-requires
Difference between extras_require() and install_requires() in setup.py?

I am trying to understand the difference between extras_require() and install_requires() in setup.py but couldn't get it. …

python setuptools setup.py
Removing python module installed in develop mode

Hi I was trying the python packaging using setuptools and to test I installed the module in develop mode. i.…

python setuptools
add data files to python projects setup.py

I have a project like this: ├── CHANGES.txt ├── LICENSE ├── MANIFEST.in ... ├── docs │   └── index.rst ├── negar │   ├── Negar.py │   ├── Virastar.py │   ├── Virastar.…

python setuptools setup.py
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 "PROJECT-egg.info" …

python setuptools distutils distribute setup.py
What is the advantage of setting zip_safe to True when packaging a Python project?

The setuptools documentation only states: For maximum performance, Python packages are best installed as zip files. Not all packages, however, …

python packaging setuptools
How can I include package_data without a MANIFEST.in file?

How can I include package_data for sdist without a MANIFEST.in file? My setup.py looks like this: import …

python manifest packaging setuptools setup.py