-
Notifications
You must be signed in to change notification settings - Fork 0
Building
Barry-Thomas-Paul: Moss edited this page Aug 18, 2023
·
3 revisions
After you project is Configured and data has been Imported, the next thing is to build your project.
The build command is run in the root of your project as follows:
python -m app build
This will run poetry build taking into account the configuration set in pyproject.toml.
The build project will be placed in a dist
folder in the root project folder.
Be aware running python -m build
will clear the contents of the dist
folder if it exist.
Do not run poetry build
directly as this will build the project ignoring configuration.
Once your project is built enter into the build directory, cd build
, and now the normal poetry publish
commands can be used.