What is setup.py?
Can anyone please explain what setup.py is and how it can be configured or used?
Can anyone please explain what setup.py is and how it can be configured or used?
I have installed a python package with python setup.py install.
I’m having troubles with installing packages in Python 3.
My Python package has a setup.py which builds fine locally on Ubuntu Trusty and on a fresh Vagrant Ubuntu Trusty VM when I provision it like this:
I want to understand what is considered the correct minimalist way to use setuptools with a “src/ layout” in a way that dispenses using src. prefix in imports?
I understand that setup.py uses the same CFLAGS that were used to build Python. I have a single C extension of ours that is segfaulting. I need to build it without -O2 because -O2 is optimizing out some values and code so that the core files are not sufficient to pin down the problem.
I have an external package I want to install into my python virtualenv from a tar file.
What is the best way to install the package?
I am working on a python2 package in which the setup.py contains some custom install commands. These commands actually build some Rust code and output some .dylib files that are moved into the python package.