File tree Expand file tree Collapse file tree 3 files changed +6
-21
lines changed Expand file tree Collapse file tree 3 files changed +6
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22skip-string-normalization = true
33
44[build-system ]
5- requires = [" setuptools>=42" , " wheel" ]
5+ requires = [" setuptools>=42" , " wheel" , " setuptools_scm>=6.2 " ]
66build-backend = " setuptools.build_meta"
7+
8+
9+ [tool .setuptools_scm ]
10+ write_to = " mpl_point_clicker/_version.py"
Original file line number Diff line number Diff line change 1- from os import path
2-
31from setuptools import setup
42
5- # extract version
6- path = path .realpath ("mpl_point_clicker/_version.py" )
7- version_ns = {}
8- with open (path , encoding = "utf8" ) as f :
9- exec (f .read (), {}, version_ns )
10- version = version_ns ["__version__" ]
11-
12- setup_args = dict (
13- version = version ,
14- )
153
164if __name__ == "__main__" :
17- setup (** setup_args )
5+ setup ()
You can’t perform that action at this time.
0 commit comments