Category "setup.py"

How to get `setup.cfg` metadata at the command line (Python)

When you have a setup.py file, you can get the name of the package via the command: C:\some\dir>python setup.py --name And this would print the name of the

Trying to read __version__ with setuptools (setup.py) results in FileNotFoundError during build

EDIT: See answer below for explanation of my mistake, and the solution. I was trying to follow the instructions in @dnozay's answer on how to read __version__ i

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. Both are used for installing Python de

Python 3: ImportError "No Module named Setuptools"

I'm having troubles with installing packages in Python 3. I have always installed packages with setup.py install. But now, when I try to install the ansicolors

Install modules with setup.py and setup.cfg

I have the following directory structure: /modules/ /modules/setup.py /modules/setup.cfg /modules/module1/ /modules/module1/__init__.py /modules/module1/tool1