We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7fe853 commit 936ddc3Copy full SHA for 936ddc3
1 file changed
setup.py
@@ -1,15 +1,11 @@
1
import os
2
from distutils.core import setup
3
4
-package_path = os.path.dirname(os.path.realpath(__file__))
5
-with open(os.path.join(package_path, 'VERSION')) as version_file:
6
- version = version_file.read().strip()
7
-
8
setup(
9
name="script_runner",
10
packages=["script_runner"],
11
scripts=["script_runner/main.py"],
12
- version=os.environ["SCRIPT_RUNNER_VERSION"],
+ version=os.environ.get("SCRIPT_RUNNER_VERSION", "latest"),
13
license="MIT",
14
description="Provides an API server + celery worker module for running arbitrary scripts.",
15
author="Robert Chu",
0 commit comments