Skip to content

Commit

Permalink
fix for conda-recipie (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
devanshshukla99 committed Apr 26, 2023
1 parent 9da8c0f commit 060020e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[build-system]
requires = [
"setuptools",
"setuptools_scm",
"wheel"
]
build-backend = 'setuptools.build_meta'
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "pytest_response/_version.py"

[tool.black]
line-length = 110
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python

import os

from setuptools import setup

setup(use_scm_version={"write_to": os.path.join("pytest_response", "_version.py")})
setup(
use_scm_version=True,
setup_requires=["setuptools_scm"],
)

0 comments on commit 060020e

Please sign in to comment.