MCPcopy Index your code
hub / github.com/dothinking/PyAddin / get_version

Function get_version

setup.py:9–16  ·  view source on GitHub ↗
(fname)

Source from the content-addressed store, hash-verified

7# read version number from version.txt, otherwise alpha version
8# Github CI can create version.txt dynamically.
9def get_version(fname):
10 if os.path.exists(fname):
11 with open(fname, 'r') as f:
12 version = f.readline().strip()
13 else:
14 version = 'alpha'
15
16 return version
17
18# Load README.md for long description
19def load_long_description(fname):

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected