summaryrefslogtreecommitdiff
path: root/.ci/package-version.py
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2020-04-22 22:33:12 -0700
committerElvis Pranskevichus <elvis@magic.io>2020-04-22 22:33:12 -0700
commita79c02ecdf2ec7b8bfb84c8af42691029a35829d (patch)
tree031480cd1d44ee55db00e2dd485f402051bdc0bb /.ci/package-version.py
parente7f341db0336870c09827b3159ed3a92ef7f64ac (diff)
downloadimmutables-a79c02ecdf2ec7b8bfb84c8af42691029a35829d.tar.gz
immutables-a79c02ecdf2ec7b8bfb84c8af42691029a35829d.zip
Drop Travis and Appveyor CI
Switch to Github Actions exclusively
Diffstat (limited to '.ci/package-version.py')
-rwxr-xr-x.ci/package-version.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/.ci/package-version.py b/.ci/package-version.py
deleted file mode 100755
index bbf2ff4..0000000
--- a/.ci/package-version.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python3
-
-
-import os.path
-import sys
-
-
-def main():
- version_file = os.path.join(
- os.path.dirname(os.path.dirname(__file__)),
- 'immutables', '__init__.py')
-
- with open(version_file, 'r') as f:
- for line in f:
- if line.startswith('__version__ ='):
- _, _, version = line.partition('=')
- print(version.strip(" \n'\""))
- return 0
-
- print('could not find package version in immutables/__init__.py',
- file=sys.stderr)
- return 1
-
-
-if __name__ == '__main__':
- sys.exit(main())