Comments (2)
Hi @jpmckinney, I cannot reproduce this error:
> docker run --rm -it python:3.10-bullseye /bin/bash
cd /tmp
cat <<EOF > setup.cfg
[options]
packages = find:
[options.packages.find]
where=src
include=mypackage*
exclude=mypackage.tests*
EOF
pip install --user 'ini2toml[full]==0.11.3'
/root/.local/bin/ini2toml setup.cfg # You can also use `python -m ini2toml setup.cfg`
# [build-system]
# requires = ["setuptools>=61.2"]
# build-backend = "setuptools.build_meta"
#
# [project]
# dynamic = ["version"]
#
# [tool.setuptools]
# include-package-data = false
#
# [tool.setuptools.packages.find]
# where = ["src"]
# include = ["mypackage*"]
# exclude = ["mypackage.tests*"]
# namespaces = false
Could you please provide a minimal reproducer (like the example above) that is able to show the error happening?
from ini2toml.
Hmm, I can't reproduce now either – not sure what I was doing differently at the time.
from ini2toml.
Related Issues (20)
- Don't map `license-files` into `project.license.file`?
- Value of setup.cfg `[options.package_data]` entry `* = [...]` is converted to a string representation of `[...]` HOT 8
- 0.10: sphinx warnings HOT 5
- 0.10: pytest is failing HOT 18
- Create simpler "readme =" under [project] instead of [project.readme] section? HOT 1
- Migrate the pylint's configuration file (``.pylintrc`` and ``pylintrc``) HOT 3
- Pulling metadata out of setup.py HOT 1
- self-tests fail against tomlkit 0.11.6 HOT 2
- autoformatting against pyproject-fmt 0.4.0 HOT 1
- `install_requires = file: requirements.txt` converted to `dependencies = ["file: requirements.txt"]` HOT 4
- flake8 doesn't support [tool.flake8] HOT 3
- pytest filterwarnings translated incorrectly
- AttributeError: 'bool' object has no attribute 'splitlines' HOT 2
- keywords not translated as expected HOT 2
- `ValueError` for `setup.cfg` with both explicit `[options] packages = ...` and unused `[options.packages.find]`
- [FR] Improve determinism in API for flavour
- [FR] Better handling of the `addopts` option for `pytest`
- Please add support for `pyproject-fmt >= 2` HOT 8
- `test_auto_formatting` fails (with `pyproject-fmt 2.0.3`) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ini2toml.