Skip to content

Conversation

@retornam
Copy link

[1] Highly recommends using a pyproject.toml file
with the [build-system] table due to setup.py
deprecating the install, develop, sdit and bdist_wheel commands.

This project already uses a pyproject.toml for specific tools, I've migrated the setup.py file to fully take advantage of pyproject.toml build-system using setuptools.

Use the following

python -m pip install . to install without dev dependencies

python -m pip install '.[dev]' to install with dev dependencies

 python -m pip install --upgrade build
 python -m build
 python -m pip install 'dist/dinov3-0.0.1-py3-none-any.whl'
 python -m pip install 'dist/dinov3-0.0.1-py3-none-any.whl[dev]'

to build and install wheels with and without dev dependencies

[1] https://packaging.python.org/en/latest/guides/modernize-setup-py-project/#modernize-setup-py-project

[1] Highly recommends using a pyproject.toml file
with the [build-system] table due to setup.py
deprecating the install, develop, sdit and bdist_wheel
commands.

This project already uses a pyproject.toml for specific tools,
I've migrated the setup.py file to fully take advantage of
pyproject.toml build-system using setuptools.

Use the following

`python -m pip install .` to install without dev dependencies

`python -m pip install '.[dev]'` to install with dev dependencies

```
 python -m pip install --upgrade build
 python -m build
 python -m pip install 'dist/dinov3-0.0.1-py3-none-any.whl'
 python -m pip install 'dist/dinov3-0.0.1-py3-none-any.whl[dev]'
```

to build and install wheels with and without dev dependencies

[1] https://packaging.python.org/en/latest/guides/modernize-setup-py-project/#modernize-setup-py-project

Signed-off-by: Raymond Etornam <[email protected]>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 15, 2025
@retornam
Copy link
Author

retornam commented Oct 3, 2025

@patricklabatut @cijose I observed that you have merged other PRs. It is acceptable to comment on PRs that you do not intend to accept, thereby enabling their closure. Leaving PRs open without comments does not encourage others to contribute and may make others feel disrespected/ slighted when other PRs are quickly merged while theirs remain unaddressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant