File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 26
26
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
27
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
# setuptools loads some plugins necessary for use here.
29
+ import os
30
+
29
31
from setuptools import find_packages # noqa: F401
30
32
from distutils .core import setup
31
33
34
+
35
+ version = os .getenv ('servicex_version' )
36
+ if version is None :
37
+ version = '0.1a1'
38
+ else :
39
+ version = version .split ('/' )[- 1 ]
40
+
32
41
# Use the readme as the long description.
33
42
with open ("README.md" , "r" ) as fh :
34
43
long_description = fh .read ()
35
44
36
45
setup (name = "servicex-cli" ,
37
- version = '1.0.0' ,
46
+ version = version ,
38
47
packages = find_packages ('src' ),
39
48
package_dir = {'' : 'src' },
40
49
scripts = [],
You can’t perform that action at this time.
0 commit comments