Top "Setup.py" questions

setup.

Using python_requires to require Python 2.7 or 3.2+

How do I use python_requires classifier in setup.py to require Python 2.7.* or 3.2+? I have tried many configurations, including …

python python-2.7 setuptools setup.py pypi
How to specify dependencies when creating the setup.py file for a python package

The python doc for "Writing the Setupscript (http://docs.python.org/2/distutils/setupscript.html) mentions that dependencies can be specified …

python package setup.py
Using setup.py to install python project as a systemd service

I have a python project and I want to be able to install it using something like python setup.py …

python ubuntu setup.py systemd
error: invalid command 'bdist_egg'

I am running: Ubuntu 13.04 Python 2.7.4 I am trying this very simple tutorial on making a python egg, but am having …

python python-2.7 setup.py egg
Passing the library path as a command line argument to setup.py

modules = [Extension("MyLibrary", src, language = "c++", extra_compile_args=["-fopenmp", "-std=c++11", "-DNOLOG4CXX"], # log4cxx is not currently used …

python distutils python-3.3 setup.py
What is the graft command in Python's MANIFEST.in file?

I found a Python project with a MANIFEST.in file. I can guess at the meaning of much of it, …

python manifest distutils setup.py
Python Entry point 'console_scripts' not found

I'm unable to import entry point console scripts in my python package. Looking for help debugging my current issue, as …

python debian anaconda setuptools setup.py
python setup.py sdist only including .py source from top level module

I have a setup.py: from setuptools import setup setup( ... packages=['mypackage'], test_suite='mypackage.tests', ... ) python setup.py sdist …

python setup.py sdist