the _version.py file is autogenerated at build time from git tag using setuptools_scm; the pyclipper.__version__ variable exports that, as it's common in python packaging. This allows clients to import pyclipper and check its __version__ without needing to query the package metadata (which may be missing when pyclipper is embedded in native applications).
14 lines
475 B
Text
14 lines
475 B
Text
# By default setuptools_scm will include in the source distribution all the
|
|
# files under version control, as resulting from `git ls-files`.
|
|
|
|
# Here we only need to include those which are not tracked by git but we do
|
|
# want to be included
|
|
include src/pyclipper/_pyclipper.cpp
|
|
|
|
# and exclude those that are tracked by git but don't want to be in the sdist
|
|
exclude dev
|
|
exclude .git*
|
|
exclude .appveyor.yml .travis.yml
|
|
exclude .appveyor/*
|
|
exclude multibuild/*
|
|
exclude config.sh
|