-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# This helps older pip version properly install editable version of checkbox | ||
# inside the venv with `pip install -e .` | ||
|
||
import os | ||
from setuptools import setup | ||
|
||
setup() | ||
# this version adoption is a no-op in non-debian build as setuptools-scm does | ||
# the same. Some pybuild versions are not triggering this behaviour correctly | ||
# so this makes it uniform. Note that if this variable is missing the fallback | ||
# to setuptools-scm is unchanged also in debian packages (so the package will | ||
# get the default version calculated from setuptools-scm) | ||
setup(version=os.getenv("SETUPTOOLS_SCM_PRETEND_VERSION")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# This helps older pip version properly install editable version of checkbox | ||
# inside the venv with `pip install -e .` | ||
|
||
import os | ||
from setuptools import setup | ||
|
||
setup() | ||
# this version adoption is a no-op in non-debian build as setuptools-scm does | ||
# the same. Some pybuild versions are not triggering this behaviour correctly | ||
# so this makes it uniform. Note that if this variable is missing the fallback | ||
# to setuptools-scm is unchanged also in debian packages (so the package will | ||
# get the default version calculated from setuptools-scm) | ||
setup(version=os.getenv("SETUPTOOLS_SCM_PRETEND_VERSION")) |