Comments (4)
Hi @graingert, thank you very much for opening this issue.
The file:
directive for requirements was a late addition to setuptools and is not implemented yet in ini2toml
. I will have a look once I have time, but if any member of the community would like to give it a go and beat me to that, PRs are welcome.
from ini2toml.
Meanwhile (when this missing piece is not implemented -- it might take me a while), if you want to manually add this manually at the end of the translation, you can add something like:
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
Ref: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
from ini2toml.
@abravalheri can you cut a release with this in?
from ini2toml.
Thank you very much for the remainder @graingert. Sorry I forgot about that one 😅.
from ini2toml.
Related Issues (20)
- Use `tomlkit` instead of `atoml`
- Some packages use `,` AND a newline to separate keywords
- 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
- ValueError: Value for `packages` expected to be a table, found 'find:' HOT 2
- 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`
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.