forked from scikit-build/cmake-python-distributions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move to setuptools_scm (scikit-build#422)
* chore: move to setuptools_scm * remove some missed versioneer related code
- Loading branch information
Showing
11 changed files
with
28 additions
and
2,379 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node: $Format:%H$ | ||
node-date: $Format:%cI$ | ||
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ | ||
ref-names: $Format:%D$ |
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 +1 @@ | ||
src/cmake/_version.py export-subst | ||
.git_archival.txt export-subst |
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 |
---|---|---|
|
@@ -60,3 +60,9 @@ docs/_build | |
# IDE junk | ||
.idea/* | ||
*.swp | ||
|
||
# Output from cibuildwheel | ||
wheelhouse/ | ||
|
||
# Version | ||
_version.py |
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
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
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,10 +1,3 @@ | ||
[tool:pytest] | ||
testpaths = tests | ||
addopts = -v --cov --cov-report xml | ||
|
||
[versioneer] | ||
VCS = git | ||
versionfile_source = src/cmake/_version.py | ||
versionfile_build = cmake/_version.py | ||
style = pep440-post | ||
tag_prefix = '' |
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 |
---|---|---|
|
@@ -7,14 +7,6 @@ | |
|
||
from skbuild import setup | ||
|
||
# Add current folder to path | ||
# This is required to import versioneer in an isolated pip build | ||
# Prepending allows not to break on a non-isolated build when versioneer | ||
# is already installed (c.f. https://github.com/scikit-build/cmake-python-distributions/issues/171) | ||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) | ||
|
||
import versioneer # noqa: E402 | ||
|
||
with open('README.rst', 'r') as fp: | ||
readme = fp.read() | ||
|
||
|
@@ -33,9 +25,6 @@ def parse_requirements(filename): | |
setup( | ||
name='cmake', | ||
|
||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
|
||
author='Jean-Christophe Fillion-Robin', | ||
author_email='[email protected]', | ||
|
||
|
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
Oops, something went wrong.