setuptools-py2cfg
setuptools-py2cfg copied to clipboard
Script for converting setup.py to setup.cfg
@gvalkov Your review, please. Fixes #8 Fixes #10 Fixes #22 Fixes #23 * #8 * #10 * #22 * #23 --- [distutils](https://docs.python.org/3/library/distutils.html#module-distutils) is deprecated with removal planned for Python 3.12....
``` % python3.12 -m pip install pipx % pipx install setuptools-py2cfg % setuptools-py2cfg ``` > Traceback (most recent call last): File "/Users/cclauss/.local/bin/setuptools-py2cfg", line 5, in from setuptools_py2cfg import main File...
``` % python3.12 -m pip install pipx % pipx install setuptools-py2cfg % setuptools-py2cfg ``` > Traceback (most recent call last): File "/Users/cclauss/.local/bin/setuptools-py2cfg", line 5, in from setuptools_py2cfg import main File...
Apparently the mocking logic causes an exception if you try to import commands from `setuptools`. If I have a `setup.py` like this: ```python from setuptools import setup from setuptools.command.upload import...
travis-ci.org died a while ago and the badge was displaying "no longer available"
I mistakenly thought `find_packages` was not supported, but actually checking shows that it is supported, so I'm going to gut this issue and report a different one instead, which is...
When running the example in the documentation, I get an exception: ``` Traceback (most recent call last): File "/path/to/setuptools-py2cfg", line 11, in load_entry_point('setuptools-py2cfg', 'console_scripts', 'setuptools-py2cfg')() File "/path/to/setuptools-py2cfg", line 60, in...
Not everything you can do in `setup.py` is possible in `setup.cfg`, but it would still be good to be able to do a partial conversion - move over everything that...