File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Original file line number Diff line number Diff line change 731
731
" \n " ,
732
732
" To make the package installable, we need to do a few more things.\n " ,
733
733
" Typically, this is done by creating the `pyproject.toml` file.\n " ,
734
+ " `pyproject.toml` is a configuration file that contains the build system requirements and the package metadata.\n " ,
735
+ " It is used by the build tools like `flit` or `poetry` to build and install the package.\n " ,
736
+ " It is also used by other tools like `black` and `mypy` to configure their behaviour.\n " ,
737
+ " \n " ,
738
+ " The [`toml` format](https://toml.io/) is a configuration file format that is easy to read and write for humans (unlike `json`).\n " ,
739
+ " It is quite flexible but not as complex as the `yaml` format.\n " ,
740
+ " Another advangtage of the `toml` format is that it is pre-installed in Python, so you don't need to install any additional packages to use it.\n " ,
741
+ " \n " ,
734
742
" \n " ,
735
743
" Here is a minimal example of the `pyproject.toml`: \n " ,
736
744
" \n " ,
814
822
]
815
823
},
816
824
{
817
- "attachments" : {},
818
825
"cell_type" : " markdown" ,
819
826
"metadata" : {},
820
827
"source" : [
839
846
]
840
847
},
841
848
{
842
- "attachments" : {},
843
849
"cell_type" : " markdown" ,
844
850
"metadata" : {
845
851
"tags" : []
You can’t perform that action at this time.
0 commit comments