Skip to content

Commit 29d117b

Browse files
ddevilledavedittrich
authored andcommitted
Fix invalid pyproject.toml file and move to setup.cfg (openai#201)
The `[project]` section of a `pyproject.toml` file *has* to include both a `name` and a `version`, that we were missing. However, rather than adding more stuff to `pyproject.toml`, I've moved the license info to the setup file and pointed `pyproject.toml` to use `setuptools` for building (the `pyproject.toml` file is really only needed to integrated with `black`, that doesn't support setup files...) While I was at it I decided to migrate to a `setup.cfg` file rather than `setup.py` since its declaritive config is usally preferred these days (and it's a bit easier to load from version/license files than with a `setup.py` file).
1 parent 3cf14d5 commit 29d117b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ ocd =
8080
exclude =
8181
tests
8282
tests.*
83+

0 commit comments

Comments
 (0)