Skip to content

Commit

Permalink
[Infra] add setuptools_scm to setup_requires to remain compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
maltanar committed Feb 16, 2023
1 parent c56fe09 commit 2e486cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@

if __name__ == "__main__":
try:
setup(use_scm_version={"version_scheme": "no-guess-dev"})
setup(
use_scm_version={"version_scheme": "no-guess-dev"},
setup_requires=["setuptools_scm"],
)
except: # noqa
print(
"\n\nAn error occurred while building the project, "
Expand Down

0 comments on commit 2e486cf

Please sign in to comment.